Hi
I've been working with Net:POP3 lately to retreive e-mails to store into a database. However, some of these emails are not plain text. Sigh. Some are HTML, which I just delete outright and others have some funny encoding character. Here's an example:
=A0
Please find attached the second draft of the constitution which=20
incorporates your amendments to the first draft. The deadline for=20
comments is 5pm Wednesday 21 January, unless there is a request to=20
extend this, by which date the draft will have been reviewed by=20
solicitors. Their comments will be included in (a) further draft(s) to=20=
be circulated before the next WHEILA meeting, when there will be a vote=20=
on disbanding WHEILA and adopting the new constitution for WIC.
=A0
How could I stip that back into plain text? Is there a module for doing this, or even an extension to Net::POP3?
Cheers
- wil
I've been working with Net:POP3 lately to retreive e-mails to store into a database. However, some of these emails are not plain text. Sigh. Some are HTML, which I just delete outright and others have some funny encoding character. Here's an example:
Code:
1. Constitution =A0
Please find attached the second draft of the constitution which=20
incorporates your amendments to the first draft. The deadline for=20
comments is 5pm Wednesday 21 January, unless there is a request to=20
extend this, by which date the draft will have been reviewed by=20
solicitors. Their comments will be included in (a) further draft(s) to=20=
be circulated before the next WHEILA meeting, when there will be a vote=20=
on disbanding WHEILA and adopting the new constitution for WIC.
=A0
How could I stip that back into plain text? Is there a module for doing this, or even an extension to Net::POP3?
Cheers
- wil