An error occurred while sending mail (530 5.7.0 Must issue a STARTTLS command first. 15sm1058080bwz

I get an error after configured everything as in this tutorial:

My email.yml:

Outgoing email settings

meglio:
delivery_method: :smtp
smtp_settings:
tls: true
address: “smtp.gmail.com
port: ‘587’
domain: “smtp.gmail.com
authentication: :plain
user_name: “[email protected]
password: “xxxxx”

My RoR:

*>rails -v
Rails 2.2.2

ruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]*

Any ideas?

Thanks,
Anton

On Mon, Nov 23, 2009 at 13:16, Anton A.
[email protected]wrote:

Any ideas?

Well, I’d suggest two alternatives:

  1. Tell us what makes this a mongrel problem. (It looks like a rails
    or
    email problem, and those are bound to be ignored without comment on this
    list.)
  2. Try one of the rails lists or a rails group on IRC. You are more
    likely
    to get email help there.

HTH,

/David

Thanks, David, I’ll try option #2.
Anton