Sha256: 6b3e298c7c18cb8bc2aeabe91a892b30b749b6725ddf3ab6cac82bbef538c223
Contents?: true
Size: 628 Bytes
Versions: 3
Compression:
Stored size: 628 Bytes
Contents
# Add the following to the bottom of your environment.rb file if you want to use gmail require 'tlsmail' Net::SMTP.enable_tls(OpenSSL::SSL::VERIFY_NONE) ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.perform_deliveries = true ActionMailer::Base.default_charset = "utf-8" ActionMailer::Base.raise_delivery_errors = true ActionMailer::Base.smtp_settings = { :domain => "yourdomain.com", :address => 'smtp.gmail.com', :port => 587, :tls => true, :authentication => :login, :user_name => 'your_gmail_username', :password => 'your_gmail_password' }
Version data entries
3 entries across 3 versions & 1 rubygems