Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Sending a UTF-8 (Unicode) E-mail

by zentara (Archbishop)
on Jun 16, 2014 at 10:21 UTC ( [id://1090016]=note: print w/replies, xml ) Need Help??


in reply to Re: Sending a UTF-8 (Unicode) E-mail
in thread Sending a UTF-8 (Unicode) E-mail

Hi, I'm not fully up-to-date on the issue, but I did have this note in my archives, which I can't find the original source, but here it is:
Non USASCII characters *in headers* require special encoding: 1) use Encode; $x="...."; $x_for_header = Encode::encode('MIME-Q', $x); MIME-Q is the best for mostly USASCII strings MIME-B is the best for mostly non USASCII strings 2) Add one extra header to *fully* declare body encoding: print MAIL "Content-Transfer-Encoding: 8bit\n";
Hope it helps.

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1090016]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-25 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found