0

Is there a way I can use mailto: or JavaScript to send a string containing HTML code to the body of an email message so that the HTML will render? This just renders as text and doesn't actually display an image (same for a mailto: link):

window.open('email@email.com&Subject=Test&Body=<img src="MyImageURL" />');

In the real code, I'm using the full URL of the image, with the http://www..., and also, I confirmed that the email type is HTML and not plain text.

This is a project requirement, to allow someone to send a formatted message through their own email rather than us sending it server-side on their behalf through our SMTP server.

StronglyTyped
  • 2,134
  • 5
  • 28
  • 48

1 Answers1

0

no, there is no way to do this using javascript or mailto. if you wanna read all features to mailto protocol please check this page.

Omer Faruk Zorlu
  • 371
  • 1
  • 18