I need to send myself an automated email once a day from my windows XP dev. machine. I've got Apache, PHP, and MySQL running here. I don't mind which email address the email gets sent from since i can add it to my address bar. I'm wondering though, what do i need to enable/install to be able to send emails?
A:
You'll need some sort of mail transport agent - like sendmail. You could theoretically use a PHP library for sending email and have it relay to an SMTP server hosted somewhere else.
infamouse
2010-07-21 22:40:47
+1
A:
you can look into scheduled tasks that and commandline php. Commandline php lets you execute php files from the cmd for example php emailsend.php where you can use the mail() function. :)
Android Noob
2010-07-21 22:41:32
Still need an MTA, and a normal LAMP stack on XP won't find a mail server.
infamouse
2010-07-21 22:42:07
ah didnt see he hadnt sendmail on it, can be downloaded and configured easily from apachefriends.org
Android Noob
2010-07-21 22:44:18