My application needs to be able to receive, store and forward arbitrary emails from arbitrary email clients. Yet the excerpt I quoted from the Email::Simple manpage (below) seemed to me to suggest that Email::Simple isn't capable of handling all emails from all clients, only RFC2822 formatted emails - and that there is another RFC standard for email formats that Email::Simple doesn't handle, but that Email::Filter does. That was why I was asking whether Email::Mime suffered from the same limitations as Email::Simple.
I've taken this all wrong haven't I?!
Simon Wistow wrote:
P.S. It says in the Email::Simple man page, "Email::Simple handles only RFC2822
formatted messages. This means you cannot expect it to cope well as the only
parser between you and the outside world, say for example when writing a mail
filter for invocation from a .forward file (for this we recommend you use
Email::Filter anyway)."
Err, I'm not entirely sure what you mean here.
Email::Simple and Email::MIME take the text of an rf822 email message and turn it into an object. What you do with that object is up to you. If you want to filter it then use Email::LocalDelivery and some handrolled regexes. Or, more succinctly, use Email::Filter.
