P
P
pavlick2011-05-20 15:20:31
css
pavlick, 2011-05-20 15:20:31

Is it possible to use the data URI of an image in the body of emails?

In order not to make a letter with attached files, I would like to push all the pictures in css as data URI of images. Do email clients understand such a thing?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
Konstantin, 2011-05-20
@Norraxx

Yes, HTML code in the body of emails.

V
vinxru, 2011-05-20
@vinxru

They understand. But they will warn that the letter contains elements referring to the Internet, and they will offer not to show them. Or just block the display of such pictures.
Because attackers use this feature for many insidious purposes. For example, to find out your real IP address. Or to run PHP on remote servers. Or for DDOS attacks. Or attacks on your computer. For example, it was possible to drop Windows 98 by sending an email with .

I
Iskander Giniyatullin, 2011-05-20
@rednaxi

using cid: when you attach an image, it is not displayed as an attachment in many mail clients,
I found a small instruction on how to do this, we did it on our project 2 years ago and I don’t remember where I got the manual, and I’m lazy to write my own :
htmlweb.ru/php/example/mail_insert_image.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question