cajun has asked for the wisdom of the Perl Monks concerning the following question:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
According to the documentation, to do this I should do something like this:
sub send_message{ $msg = MIME::Lite->new( From => 'someone@somewhere.com', BCc => "$_", Subject => 'Subject', Encoding => '7bit', Type => 'text/plain', Data => "$message" ); $msg->attr("content-type" => "text/plain"); $msg->attr("content-type.charset" => "ISO-8859-1"); $msg->attr("content-type.name" => "flowed"); $msg->send; }
When I do the above, what I get in the message header is:
Content-Type: text/plain; charset="ISO-8859-1"; name="flowed"
Note the quotes around ISO-8859-1 and flowed. Am I misunderstanding the documentation?
Thanks for any enlightenment,
Mike
Update: Thanks GrandFather Great find!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: MIME::Lite question
by GrandFather (Saint) on Jul 15, 2005 at 00:33 UTC | |
|
Re: MIME::Lite question
by pg (Canon) on Jul 15, 2005 at 01:43 UTC | |
|
Re: MIME::Lite question
by polettix (Vicar) on Jul 15, 2005 at 07:56 UTC | |
by cajun (Chaplain) on Jul 15, 2005 at 08:17 UTC | |
by polettix (Vicar) on Jul 15, 2005 at 08:42 UTC |