perlquestion
RuneK
Hi all,
I'm writing a script to decode a mail so that I ONLY get the:
<br><br>
to
from
cc
subject
body
<br><br>
I'm using the MIME::Parser to decode the mail, but I run into some very anoying mail format problems.
<br><br>
When I send a mail from hotmail the body contains a lot of HTML that I do not need in the pure format. The from field sometimes contain an alias in this way:
<br><br>
"Usern name" test@test.dk
<br><br>
where I only want the pure mail address.
<br><br>
So my question is. What is the trick to ONLY the the pure information from a mail where the mails format can wary a lot in the header and body section?
<br><br>
Best regards,
RuneK