nu7hatch/gmail — Issue #44: Best way to read the message.body
Author: miguelgraz
Created: 2011-11-12 02:16:49+00:00
State: open

Hi, I recently used the gem and needed to interpret the real text of the message, I could do it with this code:

gmail.inbox.find(:unread).each do |mail|
bod = mail.message.body.to_s
end

Is this the best way to do get the message text or I made a workaround?

Tks and congrats for the gem =)