我在表单上使用mailto打开默认电子邮件服务并创建电子邮件。但是,表单上的所有字段在电子邮件中显示时都很可怕。我有三个字段名1,动词,名2和他们提交时,在电子邮件正文它显示为,例如组织邮件表单提交变量
noun1= I
verb= ate
noun2= food
是否有某种方式来指定如何组织/上显示这些变量点击提交时的电子邮件正文,以便将其格式化为电子邮件正文
I ate food
?
的形式,通过要求:
<form id= "formx" method="post" action="mailto:[email protected]" enctype="text/plain">
<p><label for="id_noun1">noun1:</label>
<input id="id_noun1" type="text" name="noun1"/></p>
<p><label for="id_verb">Verb:</label>
<input id="id_verb" type="text" name="verb" /></p>
<p><label for="id_noun2">noun2:</label>
<input id="id_noun2" type="text" name="noun2"/></p>
<input type="submit" value="Submit" />
我指出可怕的意思是电子邮件的正文包含A = 1,B = 2,C = 3。我清理了问题的语言,使其更清晰。 – user856358
对我来说看起来并不可怕。在这种情况下什么是不可怕的? – mishik
向我们展示您正在使用的代码,这可能会帮助我们弄清楚您正在尝试使用哪些代码 –