[code language=”ruby”]
config.action_mailer.smtp_settings = {
:authentication => :plain,
:address => "smtp.mailgun.org",
:port => 587,
:domain => "xploralab.com",
:user_name => ENV[‘smtp_user_name’],
:password => ENV[‘smtp_password’]
}
[/code]