/ Published in: Ruby
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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, :password => 'assword' }