Return to Snippet

Revision: 30733
at August 20, 2010 10:01 by nhocki


Initial Code
ActionMailer::Base.smtp_settings = {
    :enable_starttls_auto => true,  #this is the important shit!
    :address        => 'smtp.gmail.com',
    :port           => 587,
    :domain         => 'your.domain.com',
    :authentication => :plain,
    :user_name      => '[email protected]',
    :password       => 'assword'
  }

Initial URL


Initial Description


Initial Title
Rails - Send emails with Gmail's SMTP

Initial Tags
rails

Initial Language
Ruby