how to write a script that automatically sends a mail

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
habbayhoo
Forum Newbie
Posts: 1
Joined: Mon Jul 16, 2012 2:00 am

how to write a script that automatically sends a mail

Post by habbayhoo »

Hello, I am trying my hands on a web application and i need the application to automatically send a mail at a particular set time from the database to corresponding e-mail address. message to be sent, header, recipient info and senders info would be read from the database. All i need is how to automatically initiate the sending of mail once that time is reached on the database.
Thank you in anticipation.
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: how to write a script that automatically sends a mail

Post by social_experiment »

“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Post Reply