While triggering mailto: link, is there any way to pass some predefined HTML to the opening mail?

1 Answer 1


It is not possible to pass the HTML in email body while using mailto link. It takes only string/text value.

Check this official documentation for more information: Creating hyperlinks

Also, check this thread for more explanation: mailto link with HTML body

It says, for line breaks, instead of using <br /> use %0D%0A.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.