HTML: send image to mailto? Body

I use letters with text with the mailto function to set the body and subject line, for example:

href="mailto:?body=Thanks!" 

But is there a way to send an image to the body? For instance:

 href="mailto:?body=<img src='http://www.example.com/image.jpg'>" 

(obviously does not work above - it just adds html as a string)

Any advice appreciated! Thanks!

+4
source share
2 answers

From the horse's mouth :

The "body" hname must contain the content for the first text / plain body part of the message. The mailto URL is primarily intended to generate short text messages, which are actually the contents of automatic processing (for example, β€œsubscribe” messages for mailing lists), rather than common MIME objects.

In other words, the content is in text / plain format, not in MIME format.

+7
source

What you ask for is impossible. mailto limited to sending texts and advertising messages, so you cannot attach an image using mailto .

+1
source

All Articles