PHP mail formatting issue - Why do CRLF header line endings break HTML email in Outlook?

前端 未结 4 1219
北海茫月
北海茫月 2020-12-18 13:49

I\'m using the PHP native mail() function to send HTML emails and have a formatting problem in the users most common email client - Outlook 2007

4条回答
  •  生来不讨喜
    2020-12-18 13:59

    If You use postfix<2.9, You can just put sendmail_path = "tr -d '\r'|sendmail -t -i" into php.ini.

提交回复
热议问题