Even though I use DelayedJob to send thousands of emails with a background process, it takes too many hours to complete the task. From within a library, I call "Model.deliver_..." as many times as I need. But every single call requires at least 3/4 seconds to connect with an external SMTP server.
Is there a better way to handle this? I'm working with Rails2 and ActiveMailer.