My current settings are not working, but i have never tried to set this up before. Just using email for action creation, confirmation emails. Here are the settings I have now:
config.action_mailer.perform_caching = false
config.action_mailer.raise_delivery_errors = true
host = 'id.mutantegg.com'
config.action_mailer.default_url_options = { host: host }
ActionMailer::Base.smtp_settings = {
:address => 'smtp.us.opalstack.com',
:port => '465',
:authentication => :login,
:user_name => ENV['SENDGRID_USERNAME'],
:password => ENV['SENDGRID_PASSWORD'],
:domain => 'mutantegg.com',
:enable_starttls_auto => true
}
But I am getting this error:
Errno::ECONNREFUSED in UsersController#create
Connection refused - connect(2) for 127.0.0.1:25
I have tried plain text user name and pwd to skip the possibility of the env vars not being set, but the same error persists.
Thanks in advance
Howard