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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.