Last active
December 17, 2015 19:19
-
-
Save moh-alsheikh/5659220 to your computer and use it in GitHub Desktop.
rails-actionmailer-setting
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.default_url_options = {:host => 'localhost:3000'} | |
config.action_mailer.delivery_method = :smtp | |
config.action_mailer.perform_deliveries = true | |
config.action_mailer.raise_delivery_errors = true | |
config.action_mailer.default :charset => "utf-8" | |
config.action_mailer.smtp_settings = { | |
address: "smtp.gmail.com", | |
port: 587, | |
domain: "example.com", | |
authentication: "plain", | |
enable_starttls_auto: true, | |
user_name: "[email protected]", # عنوان البريد الإلكتروني | |
password: "my_password" # كلمة المرور | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment