RailsCasts Pro episodes are now free!

Learn more or hide this

Rene Polo's Profile

GitHub User: chitopolo

Comments by Rene Polo

Avatar

I've followed this tutorial just like it is but it gave me this:

SMTP error: 530 5.5.1 Authentication Required.

i've google it everywhere and finally i could! using the SMTP configuration like this:

ruby
puts "config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
  :address              => "smtp.gmail.com",
  :port                 => 587,
  :domain               => 'catec.edu.bo',
  :user_name            => '<USER>@gmail.com',
  :password             => '<PASSWORD>',
  :authentication       => 'plain',
  :enable_starttls_auto => true  }"

I hope it helps,
Best Regards!