Forum: Ruby on Rails Actionmailer receive

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
8d38199a01d2243e313c48456c6ddff9?d=identicon&s=25 Daly (Guest)
on 2006-12-29 03:52
(Received via mailing list)
I login to a pop3 account, download messages, and want to process the
emails before storing them. I can extract all the header information
using actionmailer with no issues. I can't figure out how to extract
the body, and the attachments.

There is very little documentation available on how to receive using
actionmailer, as opposed to sending with it. Can someone please let me
know how I can extract the body and the attachments in rails?

8d38199a01d2243e313c48456c6ddff9?d=identicon&s=25 Daly (Guest)
on 2006-12-30 20:24
(Received via mailing list)
Anybody? Please?

I used TMail to get something like mail.body, what I need is a way of
decoding it, so that I can properly display it. If it is an html email
for example, I get two versions with the same text, one is text only,
and the other one is one with all the html tags, problem is, they are
all part of the same string. How do I separate them?

This topic is locked and can not be replied to.