-
-
Save abhianair/8d2eb01fc6438a69f4946556b095cb6b to your computer and use it in GitHub Desktop.
config code for email verification in config>>environment>>development.rb
This file contains hidden or 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_mailer.perform_deliveries = true | |
config.action_mailer.raise_delivery_errors = true | |
config.action_mailer.default_url_options = { host: "localhost:3000" } | |
config.action_mailer.delivery_method = :smtp | |
config.action_mailer.smtp_settings = { | |
user_name: "[email protected]", | |
password: "password", | |
domain: "localhost:3000", | |
address: "smtp.gmail.com", | |
port: 587, | |
authentication: :plain, | |
enable_starttls_auto: true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment