php - Attach images in mail without option "show images" in mail -


i send e-mail php html. can add images mail 2 ways:

  1. add html - <img src="http://www.mysite.com/image.png" />

  2. use php mailer , use option $mail->addembeddedimage($src, 'test'); , <img src="cid:test">

but in both ways if receive mail must click "show images". possible add images mail images visible? can use php mailer.

"show images" security feature of email client using. default, email messages have no features such this. instead, implemented email provider or application using. typically, untrusted senders have images , other attachments blocked default protect privacy , security.

for instance, create page (aspx, php, etc.) stream image. include image in email. if view image, grab information such ip address allow them potentially attack or break system.

my recommendation add safe senders list. however, keep in mind done on account basis, , else receives messages have same thing. since each email provider or client has own rules, there no way enable across board.

you try use big third party email service provider, may on 'trusted' lists many email providers. however, once again have more research see if option , how work you.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -