Ibrid has asked for the wisdom of the Perl Monks concerning the following question:
the $subject and $message variables are the one I'm trying to encode...my $msg = MIME::Lite->new( 'From' => $emailReturn, 'To' => $email, 'Subject' => $subject, 'Type' => 'text/html', 'Data' => $message, ); $msg->attr('MIME-Version' => '1.0'); $msg->attr('Encoding' => 'quoted-printable'); $msg->attr('content-type' => 'text/html'); $msg->attr("content-type.charset" => "windows-1252"); $msg->send('smtp', "[IP ADRESS]", Timeout=>60);
20070822 Janitored by Corion: Put code into code tags, as per Writeup Formatting Tips
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Encoded mailing
by talexb (Chancellor) on Aug 21, 2007 at 14:04 UTC | |
by clinton (Priest) on Aug 21, 2007 at 14:40 UTC | |
by Ibrid (Initiate) on Aug 22, 2007 at 13:13 UTC | |
by clinton (Priest) on Aug 22, 2007 at 13:29 UTC |