Skip to content

Instantly share code, notes, and snippets.

@javier
Created February 19, 2009 10:17
Show Gist options
  • Save javier/66840 to your computer and use it in GitHub Desktop.
Save javier/66840 to your computer and use it in GitHub Desktop.
yahoo mail
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address => "smtp.mail.yahoo.com",
:port => 25,
:domain => "yahoo.es",
:user_name => "supercoco9",
:password => "TU_PASSWORD",
:authentication => :login
}
-------------------
google for your domain
#require "tlsmail"
#Net::SMTP.enable_tls(OpenSSL::SSL::VERIFY_NONE)
#ActionMailer::Base.smtp_settings = {
# :address => "smtp.gmail.com",
# :port =>"465",
# :domain =>"gmail.com",
# :authentication => :plain,
# :user_name =>"[email protected]",
# :password =>"TU_PASSWORD"
#}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment