in reply to Re: Send latin1 email with MIME::Lite
in thread Send latin1 email with MIME::Lite
Ok, I see, but if I do something like this:
my $msg = MIME::Lite->new( From => 'test@test.com', To => 'test@test.com', Subject => Mail::Message::Field::Full->new(charset => 'iso-8859-1 +')->encode('!Hey‘ This is a αινσϊδλοφόρΡ mail!'), Type => 'text/html', Encoding => 'quoted-printable' Data => q{ <h1>αινσϊδλοφόρΡ</h1> } ); $msg->attr('content-type.charset' => 'ISO-8859-1' ); $msg->send;
still not work becouse encode the subject to us-ascii.
And the main question, can MIME::Lite do this automatically?
Thank you so much
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Send latin1 email with MIME::Lite
by zwon (Abbot) on Jan 28, 2009 at 18:38 UTC | |
by way (Sexton) on Jan 28, 2009 at 19:24 UTC | |
by zwon (Abbot) on Jan 28, 2009 at 19:59 UTC | |
by way (Sexton) on Jan 29, 2009 at 17:59 UTC |