I am trying to make a contact form that opens a new window for confirmation, and from that window, it must open Outlook with the details that I filled in the form. I know that i must use some sort of encoding, but i just can't get it to work. I modified it from my code, with the actual code you start on contact.html, you type your details then you click submit and form.php opens that shows the data, and it has hidden input boxes that also have the data, so they can show in the mail using mailto. Image
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Test</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<form action="mailto:abc123@gmail.com" method="post" enctype="x-www-form-urlencoded">
<table>
<tr>
<td>Name:</td>
<td><input id="name" type="text" name="name" value="Ύθιρτυθριςδ"></td>
</tr>
<tr>
<td>Surname:</td>
<td><input id="surname" type="text" name="surname" value="κσξγΙέκεε"></td>
</tr>
<tr>
<td>Tel:</td>
<td><input id="tel" type="text" name="tel" value="12345"></td>
</tr>
<tr>
<td>E-mail:</td>
<td><input id="email" type="text" name="email" value="qwerty@gmail.com"></td>
</tr>
<tr>
<td>Request:</td>
<td><input id="text" type="text" name="Request" value="ΑΒΓΔεζήθίκ"></td>
</tr>
</table>
<br><br>
<input type="submit" value="Send">
</form>
</body>
</html>
</div>