Thread MIME::Lite Encoding Problem (34 answers)
Opened by andi25 at 2010-06-21 14:25

andi25
 2010-06-21 16:43
#138640 #138640
User since
2010-06-21
14 Artikel
BenutzerIn
[default_avatar]
Also so scheint es jetzt zumindest zu funktionieren:

Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use Encode;

...

        # Subject dekodieren
        utf8::decode($subject);

        # Neue E-Mail mit MIME Lite erzeugen
        my $msg = MIME::Lite->new
        (
                #Subject => $subject,
                Subject => encode('MIME-Header',$subject),
                From    => $from,
                To      => $to
                Type    => 'multipart/mixed',
                Charset => 'iso-8895-1'

        );

View full thread MIME::Lite Encoding Problem