ar_mailer and SMTP

Posted on February 06, 2007

Arg. Just spent far too long going around in circles before hitting the d’oh! moment and spotting the problem.

ar_mailer is a great little library for Rails ActionMailer, allowing you to queue all outgoing emails to a database then use a sendmail-like app to process that queue at will. Nice. The book talks about it.

But actually processing the emails with ar_sendmail fails. Turns out that different folks have different ideas of what the Rails SMTP config should look like. Rails wants ‘user_name’ and ar_sendmail wants ‘user’.

arg.