Stefan R. answered 02/04/20
Senior Web Developer with the urge to spread knowledge
There isn't really a way to create emails in HTML. What you can do, however, is formulate your mailto-links with parameters. Most email clients will respect:
- subject
- body
- cc
- bcc
These values need to be url encoded and passed on as query string. Example:
In the example above, you can see that I added GET parameters to the email. The format is ?KEY=VALUE[&KEY2=VALUE2]. Here, I added subject and body. The "%20" is a result of url-safe encoding (tool: https://www.urlencoder.org/) for a space.
That said, there are services for handling emails processed by a contact form and as soon as you feel comfortable with backend technology, you will notice that sending SMTP emails is not rocket science. but of course, it still requires some experience and is a hurdle in the beginning.