techker Posted October 1, 2009 Share Posted October 1, 2009 hey guys i was wondering if it is possible to send an email to your database to insert the information in the email? like when i do a quote for a client i sometimes forget or put it on a post it to loose it..lol so i can take my blackberry and send an email to my server to insert the information? found this but...complicated..lol For anyone interested, I have created a c++ user defined function that can send mail without having to have SMTP installed on the server. It uses Microsoft's CDO to relay via any SMTP server. Usage: Compile this project (http://www.divshare.com/download/7121306-6e1) using Visual Studio Express and place the DLL in the /lib/plugins directory. In MySQL; create function SendMail returns string soname 'SendMail.dll'; select SendMail('to@address','from@address','Subject','Message','smtp.domain'); Enjoy Link to comment https://forums.phpfreaks.com/topic/176171-email-database/ Share on other sites More sharing options...
fenway Posted October 8, 2009 Share Posted October 8, 2009 What's wrong with a simple (secure) script? Link to comment https://forums.phpfreaks.com/topic/176171-email-database/#findComment-933412 Share on other sites More sharing options...
techker Posted October 9, 2009 Author Share Posted October 9, 2009 need something else? Link to comment https://forums.phpfreaks.com/topic/176171-email-database/#findComment-933640 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.