How to use special characters in recipients name when using PHP's mail function

后端 未结 2 505
迷失自我
迷失自我 2020-11-27 22:01

How can I send an email formatted as \"Name \" to:

ŠŒŽœžŸ¥µÀÁÃÄÅÆÇÉÊËÍÎÏÐÒÓÕÖØÙÜÝßàáâåæçèéëìíîïðñóôõöøùûýÿ 

        
2条回答
  •  抹茶落季
    2020-11-27 22:21

    RFC-821 (2821) tells us, that all and any 8bit-data in headers field must be encoded. Base64 or QuotedPrintable, as you want and can. Most e-mail readers automatically decode encoded strings

提交回复
热议问题