简体   繁体   中英

Gmail removes the src attribute of img tag

I have red many posts around google and stackoverflow. Seems like none of them worked for me. And many people can't figure it out. Is it really so hard to put html inline image and if it's possible in 2019, how should we do it?

<img src="https://example.com/image.png" alt="myimage">

is show as only

<img alt="myimage">

I am using PHPMailer and dont need to attach it. Is there a solution for this? Thank you!

Php Mailer email image you can use src tag but keep that in mind you have to add public link for the src like: http://example.com/image.png not project image path.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM