[Ruby] ar_mailer including bcc headers
Eric Hodel
drbrain at segment7.net
Mon Jul 30 22:27:04 PDT 2007
On Jul 30, 2007, at 16:48, Victor Cosby wrote:
> On 7/30/07, Eric Hodel <drbrain at segment7.net> wrote:
>> PS: Don't top-post
>
> Busted. Mea culpa. Guess I should in general avoid posting to lists at
> 4 am in the morning after a bout with insomnia.
>
>>
>> Looks great! Please submit a patch. The way ar_mailer performs
>> deliveries, stripping the Bcc header looks like the way to go.
>>
>
> Will do. Thanks for the suggestions and thanks for ar_mailer!
>
> Now I just need to learn how to wire it up to BackgroundDRb. If anyone
> knows of a good resource for that, please do share. I've not used it
> before but it appears to be necessary for the size of our recipients
> list (150 and growing).
The majority of time spent sending an email from Rails is in opening
and closing the SMTP socket. I've seen 1000+ emails sent in a
reasonable amount of time with ar_mailer, so try benchmarking without
adding BackgroundDRb, and see how far you get.
--
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars
More information about the Ruby
mailing list