Created
November 11, 2011 01:32
-
-
Save gonzedge/1356871 to your computer and use it in GitHub Desktop.
Rails 3.1 smtp gmail Errno::ECONNREFUSED Connection refused
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Demo::Application.configure do | |
# ... | |
config.action_mailer.delivery_method :smtp | |
config.action_mailer.smtp_settings = { | |
enable_starttls_auto: true, | |
address: 'smtp.gmail.com', | |
port: 587, | |
authentication: 'plain', | |
user_name: '<[email protected]>', | |
password: '<password>' | |
} | |
# ... | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Demo::Application.configure do | |
# ... | |
config.action_mailer.delivery_method :smtp | |
config.action_mailer.smtp_settings = { | |
enable_starttls_auto: true, | |
address: 'smtp.gmail.com', | |
port: 587, | |
domain: 'gmail.com', | |
authentication: 'plain', | |
user_name: '<[email protected]>', | |
password: '<password>' | |
} | |
# ... | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Errno::ECONNREFUSED in TestController#create | |
Connection refused - connect(2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment