Last active
January 5, 2023 22:29
-
-
Save DevGW/1411213c52dcddada4ca0884043fedce to your computer and use it in GitHub Desktop.
Ruby / Rails :: devise mailer setttings #RoR
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
config.action_controller.allow_forgery_protection = false | |
config.action_mailer.default_url_options = { :host => 'DOMAIN.COM' } | |
config.action_mailer.perform_deliveries = true | |
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 => :login, | |
:user_name => "USER@DOMAIN.COM", | |
:password => "PASSWORD", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment