Go Back   Cloud Computing > Support > MySQL Issues.
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 06-08-11, 06:32
BOD Member
 
Join Date: May 2011
Posts: 8
Default How does work my SQl to send emails.?

Hi members !
I do not know how does my SQL work to send emails on different websites .
Can anyone explain it ?
Advance thanks !
Reply With Quote
  #2 (permalink)  
Old 06-08-11, 07:26
BOD Member
 
Join Date: Apr 2011
Posts: 76
Default

Yes, we wil explain, but at least elaborate few things such as what exactly you want to do? So other kids like me understand your actual concern issue.. Anyway, if your question is about “how to send email from stored procedure in MySQL?” then you can consider following steps.
Quote:
1.Just create a table to keep emails such as (ID, Email, Subject, Body, Sent mail Flag,etc.)
2.Use trigger to write to this table
3.You have to process (Unix cron job etc....) that polls this table looking for any new entries ie. Where not sent.
4.You would also have a time showing so it will display when the record was added and when it was sent.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 00:51.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.