# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = true
# Change mail delvery to either :smtp, :sendmail, :file, :test
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
address: "smtp.gmail.com",
port: 587,
domain: "railscasts.com",
authentication: "plain",
enable_starttls_auto: true,
user_name: ENV["GMAIL_USERNAME"],
password: ENV["GMAIL_PASSWORD"]
}
# Specify what domain to use for mailer URLs
config.action_mailer.default_url_options = {host: "localhost:3000"}