SMTP and Unicode/UTF-8 characters…? How do I send

2019-05-26 08:02发布

问题:

Using SMTP, how do you send Unicode/UTF-8 e-mails?

Am I expected to base64 encode the UTF-8 body and specify that in the MIME header or...? How about the headers?

I'm sure there's a standard somewhere the describes this...

回答1:

Check out the RFC 2047.