电子邮件中的Html表单 [英] Html form in email

查看:195
本文介绍了电子邮件中的Html表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个带有文本框和单选按钮等的html表单。
我可以通过电子邮件将表单发送到电子邮件地址。

I have created an html form with text boxes and radio buttons ect. I can email the form to an email address.

现在的问题,当我填写表单并点击回复,我只收到我的空白html表单返回文本框中没有任何值。

now the problem, when i fill in the form and click reply, i only get my blank html form back no values were left inside the textbox's.

请帮助

推荐答案

< style> 块。更不用说一个HTML表单。

What Quentin said holds water, many email clients (cough, outlook) are very specific in regards to their support for HTML emails. In fact most don't even support div's or embedded <style> blocks. Let alone an HTML form.

最好的选择是使用他们点击的URL,这反过来打开一个表单供他们填写。如果您需要自动捕获一些信息(如电子邮件)。您可以生成查询字符串,并在邮件程序中添加动态信息。

Your best bet is to use a URL that they click on, which in-turn opens up a form for them to fill out. If you need to capture some of their information automatically (such as email). you can generate query strings and in your mailer have it add the information in dynamicallly..

即; < a href =http://awesomeform.com/form.php?email=$client_email>

在电子邮件中,它将如下所示: http://awesomeform.com/form.php?email=myemail@email.com

In email it would look like: http://awesomeform.com/form.php?email=myemail@email.com

如果您坚持尝试此操作,请使用电子邮件样板来启动。它有一大堆最佳做法和技巧/技巧。

If you are insistent on attempting this, use the email boilerplate to get you started. It has a ton of "best practices" and tips/tricks built right into it.

http: //htmlemailboilerplate.com/

这篇关于电子邮件中的Html表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆