I am working on HTML form that will send email via email client on my page.
Issue is when I press send button, it opens my default email client but it also imports all labels inside. Is there a way to avoid importing labels?
As you can see on attached screenshot:
Also this is HTML code I've been using for this :
<body>
<div id="wrapper">
<table>
<tr>
<td class="banner"><img src="images/test_500.png" width="499" height="161" alt="test"></td>
</tr>
<tr>
<td id="content"><!-- p class="font155"> TEST PAGE</p -->
<p>CONTACT US</p>
<div id="form-div">
<form method="post" action="mailto:john@doe.com?subject=Email subscription for test" enctype="text/plain">
<label>Subject</label><br />
<input type="text" name="Subject" value="" size="40" />
<br />
<br />
<label for="name">Name</label><br />
<input type="text" name="Name" size="40">
<br />
<br />
<label for="email">E-mail</label><br />
<input type="email" name="Email" size="40">
<br />
<br />
<label for="comment">Comment</label><br />
<textarea name="Comment" rows="5" cols="40"></textarea>
<br />
<br />
<input type="submit" value="Send">
<!-- input type="reset" value="Reset" -->
</form>
</div>
</td>
</tr>
<tr>
<td><!-- hr / --></td>
</tr>
</table>
</div>
<!-- End Save for Web Slices -->
</body>
";` but it seems thats not working. nor adding "\n" . Can you point me in right direction? – Michael May 25 '16 at 17:27
, msg += el.value + "\n"; – Suleiman May 25 '16 at 17:29