Sending html email having JQuery scripts

前端 未结 5 1690
醉话见心
醉话见心 2021-01-12 07:48

I\'m using PHP to send html emails. I\'ve tried to import css files inside the email, and it works fine.



        
5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-12 08:46

    If I recall you can only use in-line.

    BUT most email clients (especially web based) will genearlly not allow JS of any sorts.

    I have been advising and creating html newlstters etc for people for years now and general rule - don't use JS.

    A good guide for html emails is: http://www.anandgraves.com/html-email-guide#javascript

提交回复
热议问题