0

We have a requirement to pass the student details from a school admin through email to their parents. For example student marks from site. when i press the share icon it should open the default available mail and prepopulate the data of particular student in the email body.

<a href="mailto:no-one@snai1mai1.com?subject=look at this website&body=Hi Parent , Please find the attached marks list>Share</a>

From the code, Is there any why to style the body of email for eg: sending marks in table. using Bold at some places, coloring some text. basically to pass formatted html page.

siva teja
  • 33
  • 7
  • 1
    According to [RFC6068](https://datatracker.ietf.org/doc/html/rfc6068): no it is not possible. And as you have no idea, which mailclient will be opened when the link is clicked, it's not sure the client will even support a HTML body – derpirscher Oct 21 '21 at 12:41

0 Answers0