Re: Sending special chars in email header

[email protected] ("Octavian Rasnita")
Newsgroups perl.beginners
Message-ID <003101c8bbcd$75fbb8a0$9200a8c0@octavian>
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" <[email protected]>
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/
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.