CustomFunktions and ContentType Field

Hans Klose hansklose at gmx.de
Tue Nov 20 15:31:39 GMT 2007


Hi

can i read the contenttype field from a mailheader in a customfunktion.

I already do this:

>>my ($message)     = @_;
>>my $from          = $message->{from};

and can use the "From" header field. 
How can i access the contentype? 
Specialy i need the charset of the mail.
I tried:

>>my $ContentType   = $message->head->mime_attr('content-type');

but that does not work.

Tanks Hans
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail


More information about the MailScanner mailing list