in reply to MIME::Lite question

Desired:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Obtained:
Content-Type: text/plain; charset="ISO-8859-1"; name="flowed"
Unless there's a typo somewhere, it seems that you would like to set attribute content-type.format, but you're setting content-type.name:
# ... $msg->attr("content-type.name" => "flowed"); #...

Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf

Don't fool yourself.

Replies are listed 'Best First'.
Re^2: MIME::Lite question
by cajun (Chaplain) on Jul 15, 2005 at 08:17 UTC
    I tried it both ways polettix. It didn't seem to make a lot of difference either way.
      This does not surprise me, but they're different things. Name is usually related to a deprecated way to suggest a filename for attachments (this should be handled by Content-Disposition now), while the other is more text e-mail specific and deals with how nested replies should be displayed in variable-size windows - see here. So the question is: do you really need any of them?

      Flavio
      perl -ple'$_=reverse' <<<ti.xittelop@oivalf

      Don't fool yourself.