Hi Jeff,

Thank you! My program works fine now.

Do you know if I need to also encode the subject of the message (because it is 
a header also)?
I've seen that even if I don't encode the subject, it shows fine in Outlook 
Express, but I don't know what the specifications say, so I don't know if it 
will work in all other mail clients.

Thank you.

Octavian

----- Original Message ----- 
From: "Jeff Peng" <[EMAIL PROTECTED]>
To: "Perl Beginners" <beginners@perl.org>
Sent: Wednesday, May 21, 2008 3:13 PM
Subject: Re: Sending special chars in email header


> On Wed, May 21, 2008 at 7:58 PM, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I've tried to send some UTF-8 chars in the "To" and "From" fields in the 
>> header of a message,
> 
> Hi,
> 
> you need MIME::Words:
> http://search.cpan.org/~doneill/MIME-tools-5.426/lib/MIME/Words.pm
> 
> -- 
> Jeff Peng - [EMAIL PROTECTED]
> Professional Squid supports in China
> http://www.ChinaSquid.com/
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> http://learn.perl.org/
> 
>

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to