How do I stop Gmail from stripping the values out of URLs?

后端 未结 4 1938
时光取名叫无心
时光取名叫无心 2021-02-19 20:43

I recently learned that webmail clients like Gmail will do alterations on HTML emails, for example adding target=\"_blank\" to tags.

4条回答
  •  忘掉有多难
    2021-02-19 21:30

    Emailing in html uses Quoted-printable Encoding. The problem with your $mailContent is that the "=" must be represented by =3D

    Try adding this: $mailContent = quoted_printable_encode($mailContent);

提交回复
热议问题