Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I prefer Mail::Sendmail over Net::SMTP as it makes things even simpler, but using Net::SMTP allows you to hold the connection open and send all 3 in one go.
If you are running a SMTP server on localhost you shouldn't have a problem with speed. I have a CGI script that sends up to 10 in one go which runs fine. If I was, I'd either fork (if I didn't care about NT) or spool locally. Of course there are other options, I've handled this before by having a flag in the DB that says 'email this user X' and a cron job that handles it. Hope this helps... In reply to Re: Net::SMTP v local MTA
by gav^
|
|