Ruby on Rails + Gmail SMTP (TLS)
This took way too long to figure out the answer to without using a custom plugin. I hope this helps others! I was setting up Redmine with Gmail as an SMTP server utilizing config/email.yml. Behold!
email.yml with no other related changes in environment.yml using Rails 2.2.2
production: delivery_method: :smtp smtp_settings: enable_starttls_auto: :true address: smtp.gmail.com port: 587 domain: GMAILDOMAIN.com authentication: :plain tls: :true user_name: "EMAIL@YOURGMAILDOMAIN.com" password: "YOURPASS"
If you are setting up Redmine, there is a nice feature under Administration > Settings > Email Notifications > and in the very bottom right corner of the page, a “Send a Test Email” link.







Add Yours
You must be logged in to post a comment.
About Author
Mark
This author has not yet written a description. Please give them some time to get acquainted with the site and surely they will write their masterpiece.