I'm creating a form (using only HTML and JavaScript) that sends emails. I want to insert a simple HTML table inside the body of the email. Something like this:
<table border=1>
<tr><td>blabla</td></tr>
</table>
After I click on the "Send" button a JavaScript function is called which sends the email via URL and the POST data appears in my email client - Outlook (which is okay for me) but there is a problem with the formatting. The data in body of the email is in plain text.
- Is there any other way to do this only with JavaScript?
- Is it necessary to use some kind of server-side scripts (like PHP or others) to format it properly?