dcparker / ruby-gmail

A Rubyesque interface to Gmail. Connect to Gmail via IMAP and manipulate emails and labels. Send email with your Gmail account via SMTP. Includes full support for parsing and generating MIME messages.
http://dcparker.github.com/ruby-gmail
790 stars 123 forks source link

Send email example broken #1

Closed PaulOstazeski closed 14 years ago

PaulOstazeski commented 14 years ago

Following the example in the readme, sending email fails when trying to set plain.content (or html.content) because the encoding is nil.

See lines #102 and #168 of mime/entity.rb - together, they end up sending nil.to_s.downcase, but nil does not have a downcase method.

dcparker commented 14 years ago

This is fixed in 0.0.3, just released today.

PaulOstazeski commented 14 years ago

Amazing timing. ;)