How to automate sending mail

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to send a email (i am using ASP.net with C# as
code behind) to a person on a perticular date and
time..say if the user composes a mail today and selectes
that this mail should reach after 10 days and at
10:00Am...and another user composes a mail today and
specifies that the mail has to be sent after 4 days and at
5:00pm..Pls tell me where i have to specify the delivery
date and time so that the email will be sent at that
perticular date and time...
 
Hi,
I think u will have to store the email and the date when u want the email to
go out in some storage like sql server or xml file. and then using sql agent
(if u are using sql server u can schedule a job to check if there are any
emails to send out today and then send the email. if u want to be time
specific, u can schedule the job to run every day and every hour.
Hope this helps
 
Thanks Frazer. I have the same idea. Actually i have the
mail details stored in the document library of Sharepoint
Portal Server. Sharepoint uses Sql Server to store the
library contents. I have to see how the idea works. If you
know more in detail that will be really helpful.
 
Back
Top