[Mimedefang] which charset is being used in a mail?

David F. Skoll dfs at roaringpenguin.com
Tue May 7 14:52:26 EDT 2002


On Mon, 6 May 2002 08:59:52 +0200 (MET DST) dbruyne at uia.ua.ac.be wrote:

> I want to scan these messages with SpamAssassin. Is there a (fast) way to
> find out which charset is being used in MIMEDefang ?

$charset = $entity->head->mime_attr('content-type.charset');

(Each entity can have its own charset.)

Regards,

David.




More information about the MIMEDefang mailing list