Send one email every 24 hours?
Hello,
I found this contest where you can enter once a day until via email until the contest is over. Out of laziness, It would be nice to have a small app that would send one email every 24 hours. There would only be one recipient with a subject line and my name, address, age, and phone number in the body.
Has anyone seen or done anything like this? I might be able to find some freeware on the net that will do it, but it would be more fun to write something. Any pointers in the right direction are appreciated.
Thanks!
Re: Send one email every 24 hours?
Quote:
Originally posted by birthjay
Has anyone seen or done anything like this? I might be able to find some freeware on the net that will do it, but it would be more fun to write something. Any pointers in the right direction are appreciated.
Thanks!
You can use:
System.Web.Mail.SmtpMail.SmtpServer = "SmtpServerName"
System.Web.Mail.SmtpMail.Send( _
"SenderAddress", "RecepientAddress", "SubjectText", "MessageText")
to send an email by SMTP. Add a timer could do what you want.