Skip to content

Instantly share code, notes, and snippets.

@tanraya
Created August 8, 2013 19:27
Show Gist options
  • Select an option

  • Save tanraya/6187851 to your computer and use it in GitHub Desktop.

Select an option

Save tanraya/6187851 to your computer and use it in GitHub Desktop.
config.action_mailer.raise_delivery_errors = true
config.action_mailer.default_url_options = { :host => 'example.ru' }
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "smtp.yandex.ru",
:port => 587,
:domain => 'example.ru',
:user_name => 'info@example.ru',
:password => 'passwd',
:authentication => 'plain'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment