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 [...]

More



The beautiful phrase “Man, I am an idiot…”

How often do you have “Man, I am an idiot” moments? Forgetting to pay a bill on time, saying something stupid and regretting it immediately after, or chopping the tip of your finger off cutting red peppers? Yeah, gross… Well if I did either of those things I dont think I would be too happy [...]

More



Get Adobe Flash playerPlugin by wpburn.com wordpress themes