PDA

View Full Version : send delayed email



ingenieurkaelin
March 23rd, 2001, 02:59
Hi

I want to send a form using sendmail (Perl). But: I do not want to send it immediately but maybe in an hour or at a specific date. Is this possible?

atlas
March 23rd, 2001, 11:17
There is a way, but it'll get a lot more complex than perhaps you want. Are they all going out at the same time, or all at different times?

You'll have to have your script write out the information to a file in some specified directory (or database). Then use cron to run a script that sends all those messages that have been queued up.

I'm guessing this is a bit more complex than what you would have liked?

-mk