Jump to content

email database..


techker

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.