After spending a few hours reading dozens of blogs and tutorials I am
still stumped. Numerous sites mention ruby 1.8.7 and rails 2.3
supporting TLS out of the box. However, I can not find any documentation
on setting this up to send emails correctly. Furthermore, after
attempting to send emails using Gmail and TLS i get the following error:
530 5.7.0 Must issue a STARTTLS command first. i6sm501424tid.20
Looks like you have a :user_name misspecified, this is meant to be the
gmail user account that will be used to send the email and must be a
valid gmail account.
Here’s what I use as: config/initializers/action_mailer.rb:
Looks like you have a :user_name misspecified, this is meant to be the
gmail user account that will be used to send the email and must be a
valid gmail account.
Very strange… Now I am getting the error:
Net::SMTPAuthenticationError (535-5.7.1 Username and Password not
accepted
I have tried changing the value of :user_name to ‘info’ as well, same
error…