Hi there.
Does anyone know how to extract body of email by using formail in Procmail?the only thing that i can work on right now is this command in my procmail recipe:
Code:
:0fwb
| formail -I "" >> path/to/my/file.txt
but this command will also read the bogus "Content-type" such as this one :
Code:
--20cf3079bcb6f4074904c1a181f1
Content-Type: text/plain; charset=ISO-8859-1
this is the content of email
--20cf3079bcb6f4074904c1a181f1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
this is the content of email
--20cf3079bcb6f4074904c1a181f1--
I only want the content file.
Can somebody help me?thanks