Ruby code to send email using gmail

For all three of you :-)  who need to write a Ruby program that sends email using gmail. Here's some sample code that I wrote to send email via gmail (using parseconfig awesomeness and how to send email by gmail ruby code from shunsuk - thanks!)

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options