How can I send HTML mails with included CSS with PHPMailer?

前端 未结 8 1373
一整个雨季
一整个雨季 2020-12-18 07:53

I\'ve problem with sending HTML mails with PHPMailer. I make a Smarty template and I got all the HTML code from it. But when I send mail, I got the mail without included CSS

8条回答
  •  感情败类
    2020-12-18 08:45

    I've found the best (read broadest) support for CSS is inline (style=""). Sad, but true.

提交回复
热议问题