<p>I've just switched an application to use ar_mailer and when I run ar_sendmail (after a long pause) I get the following error:</p>

<pre><code>Unhandled exception 530 5.7.0 Must issue a STARTTLS command first. h7sm16260325nfh.4
</code></pre>

<p>I am using Gmail SMTP to send the emails and I haven't changed any of the ActionMailer::Base.smtp_settings just installed ar_mailer.</p>

<p>Versions: </p>

<p>Rails: 2.1, ar_mailer: 1.3.1</p>

What version of ar_mailer are you using? A gmail specific bug was fixed in 1.3.1, as shown here:
http://rubyforge.org/forum/forum.php?forum_id=16364