-
-
Save veganstraightedge/386a55f1b6aaff6905b2fc5a95c63917 to your computer and use it in GitHub Desktop.
FATAL -- : SocketError (getaddrinfo: Name or service not known):
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
unless Rails.env.test? | |
ActionMailer::Base.smtp_settings = { | |
port: 465, | |
address: "smtp.hubapi.com", | |
user_name: ENV["SMTP_USERNAME"], | |
password: ENV["SMTP_PASSWORD"], | |
domain: "happily.io", | |
authentication: :plain | |
} | |
ActionMailer::Base.delivery_method = :smtp | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment