我在表單上使用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
向我們展示您正在使用的代碼,這可能會幫助我們弄清楚您正在嘗試使用哪些代碼 –