Search code examples
htmlgmailhrefmailto

Gmail mailto with images and links


I need to create a mailto links, which automatically sets both the recipients and the body. I'm fine as long as the body is just a plain text, but I need it to contain links and images (and the image needs to be linked).

Is there a way to do it?


Solution

  • It's not possible. You can't send MIME bodies in mailto: body parameter. Since body parameter is intended for only plain/text . You can't format the value into HTML. Send the mail programmatically using Emailer functions with support of HTML body