[Rails] Multiple emails from one SMTP connection?
Ryan Wood
ryan.wood at gmail.com
Wed Jan 4 16:04:19 GMT 2006
Hi all. I'm running a nightly job that is creating a CSV file and
sending to member via SMTP. I got the following error after about 20
emails or so: Net::SMTPServerBusy Too many connections from IP...
Is there a way (using ActionMailer) to open a connection and send
multiple emails. Or could I make sure the connection is closed before
opening another? The only other option is to send some type of wait
signal if I catch that error. Any other ideas?
Thanks for the help!
--Ryan
More information about the Rails
mailing list