On 2 Mar 2022, at 3:20, Quinn Comendant wrote:

> That's what I've been doing, but it's not convenient because the raw email 
> part will be either base64 or quoted-printable encoded, which is not easy to 
> decode. Base64 is easy to decode, but it seems to be less common. I'm not 
> sure how to decode quoted-printable correctly.
>
> The reason I want to extract HTML messages is to analyze them to improve the 
> spam filtering on the mail servers I manage, and it's really useful to be 
> able to access the html.

You might want to look at how the plugins work. The e-mails themselves should 
be available as text files and lots of programming languages have e-mail 
processing libraries that you could pass the e-mails to. This would let you 
strip out the HTML for further processing.

Charlie

--
Charlie Clark
Sengelsweg 34
Düsseldorf
D- 40489
Tel: +49-203-746000
Mobile: +49-178-782-6226
_______________________________________________
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate

Reply via email to