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
792 stars 123 forks source link

Email without title #12

Closed gdo closed 11 years ago

gdo commented 14 years ago

If there is an email without title in the inbox and I do that

emails = g.inbox.emails(:unread) emails.each do |email| subject=email.message.subject end

in subject I don't found an empty string but a string with "From: ....."

wengzilla commented 11 years ago

This seems to be working on the master branch... I am getting a subject of nil for messages with no subject.