Encodings
JUANMARCOSMOREN <[email protected]> Sat, 21 Aug 2004 21:05:06 GMT
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <[email protected]> |
Is this problem already explained in some document?
Would you be so kind to tell me where?
Or is Mail::Box so broken that this is not possible and someone should
fix it?
I want to build a message correctly encoded.
my $msg = Mail::Message->build
( From => $from
, To => $to
, Subject => $subject
...
If any of the above headers have characters outside us-ascii, how should
them be encoded?
Example:
If I have:
Presentación
That should be encoded as:
Subject: =?iso-8859-1?Q?Presentaci=F3n?=
How do I get that?
I'd also like an example on how to create a full message if I have the
body text encoded in iso-8859-1
I also have the date in converted with mktime() how do I encode it
easily with Mail::Message ?