Create an Image embedded in the body of the email message

Asked

Viewed 662 times

0

Good morning to all.

I created an email marketing to send to my contacts with year-end layout.

Finally, I noticed the way I send the image in html:

<img src="http://www.site.com.br/imagens/imagem1.jpg"/>

works perfectly. However, in windows outlook, it asks the user to release this image so that it appears. I don’t see this as a serious problem, because if the user knows you, and really wants to receive your emails, he will release.

However, I work with some clients who are very laity and would like to avoid this.

I noticed that with gmail you can embed an image in the body of email and windows outlook somehow does not understand that it is an image. Just drag an image to the body of the gmail email that it will be embedded.

My question is: How can I do this with php? What is the technique gmail uses?

Thanks in advance.

  • 1

    This is a matter of "security" of outlook, when someone receives an email marketing her she has to select the "always display content of this recipient" option so that this does not occur anymore. Unfortunately I do not believe that there is a "technique" to circumvent this, because the outlook locks any type of image except those that the user authorize.

  • I know @Rafaelacioly, however, when you send an embedded image by gmail outlook does not recognize that it is an image. And the image appears in outlook email without needing to be released by user. I wanted to understand how it works.

  • See, I don’t think this is a hack, otherwise the gmail would definitely not do this.

  • To tell you the truth, I don’t even know if it is a built-in image, what I do know is that when it is sent by gmail in the body of the email an image, it is shown by the outlook without needing release.

  • Any Webmail blocks images or display of external content by default. It is not something from outlook. But it is possible to send the embedded image in the body. The image should be as an attachment and then make a direct link to the attached image.

  • So @Danielomine, I don’t know if you have gmail, but in gmail, when I put the image in the body of the message outlook does not lock, or any email does not lock. Take a test. I wonder how they do. =/

  • I believe that when you insert the image into the body, it ceases to be an image, somehow, it becomes a code, I don’t know.. rsrsrs

  • That’s right. The email body encodes to a format set in the header. There are several formats. Maybe what you saw is Base64.

  • I will search this @Danielomine. Thank you

Show 4 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.