Thread MIME::Lite und utf-8 (4 answers)
Opened by andi25 at 2010-07-23 14:07

GwenDragon
 2010-07-23 14:47
#140030 #140030
User since
2005-01-17
14749 Artikel
Admin1
[Homepage]
user image
Ich denke mal, beim Text-Anhang fehlt das Encoding.

Statt:
Code: (dl )
1
2
3
4
5
$msg->attach 
(
Type => 'TEXT',
Data => $mailtext
);


so:
Code: (dl )
1
2
3
4
5
6
7
my $part = MIME::Lite->new(
Type => 'TEXT',
Data => $mailtext,
);
$part->attr('content-type.charset' => 'UTF-8');

$msg->attach($part);

(ungetestet)

View full thread MIME::Lite und utf-8