laziness, impatience, and hubris | |
PerlMonks |
Receiving Emails From Sendmailby devslashneil (Friar) |
on Jul 01, 2003 at 01:11 UTC ( [id://270378]=perlquestion: print w/replies, xml ) | Need Help?? |
devslashneil has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I am writing some custom mailing list software for my company,and i need to write a wrapper which email is passed to from sendmail. I have added the appropriate information into /etc/mail/alias, and my program now recieves email to the STDIN when it is run. My problem is that the email will contain different headers and sometimes HTML etc. Is there a library / method for this specific purpose. Eg To take an email at this raw level and seperate it into "$mail->subject", "$mail->body" etc This would be really useful for my program, i don't really want to go ahead and write something to do this using regexs when i assume someone has already tackled this problem before. Any input would be much appreciated. Cheers Neil Archibald - /dev/IT -
Back to
Seekers of Perl Wisdom
|
|