Topic: email stuff.

okay I'm trying to do a notify thingy. the trouble is that that if I use action mailer it will open a session per email. and even with 20 email this is quite a noticable slow down in the users end of thing.

if I use Net::SMTP is it the can I open a session and send multiple emails from it?

Last edited by BasicMind (2007-03-26 11:23:41)

--

Re: email stuff.

I gave this a try and it still seem to be really slow. would it be a good idea to pile all emails into the database and have a cron send them off every now and then.

--

Re: email stuff.

fyi, i've bookmarked this though haven't tried it yet myself

"Even deliviring email to the local machine may take too long when you have to send hundreds of messages. ar_mailer allows you to store messages into the database for later delivery by a separate process, ar_sendmail."

http://blog.segment7.net/articles/2006/08/15/ar_mailer