通过电子邮件询问评级 [英] Ask rating through email

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

问题描述

在我的应用程序中,我们将通过向他们发送电子邮件获取用户的反馈。因此,如果用户填写字段并提交,那么我将其存储在我的数据库中。



我已经准备了一个这样的html邮件。





但是这里的问题是我无法在邮件中显示评分星。这需要内联css,但是我无法将该CSS嵌入到内部,因为它包括onhover css。



所以有什么办法可以通过电子邮件发送评级。 >

有什么办法可以在onhover内置
谢谢你提前。

解决方案

尝试在你的onhover css中用!重要的来裁决你的内联css。



然而,考虑更大的图片 - html电子邮件中不完全支持表单,因此,根据您的列表,您可以使用20%+不能使用它们。 (表格支持图表此处 here



考虑到这一点,对于100%的支持,大多数电子邮件营销人员将他们发送到托管表单的着陆页。另一个选择是使用简单的href标签和URL参数捕获基本信息。这样的东西:

 <! - 使用通过用户信息的自定义网址的星形图像 - > 
< a href =http://www.yoursite.com?name=your.subscriber@gmail.com&rating=1>< img alt =1src =width = 40height =40style =margin:0; border:0; padding:0;>< / a>
< a href =http://www.yoursite.com?name=your.subscriber@gmail.com&rating=2>< img alt =2src =width = 40height =40style =margin:0; border:0; padding:0;>< / a>
< a href =http://www.yoursite.com?name=your.subscriber@gmail.com&rating=3>< img alt =3src =width = 40height =40style =margin:0; border:0; padding:0;>< / a>
< a href =http://www.yoursite.com?name=your.subscriber@gmail.com&rating=4>< img alt =4src =width = 40height =40style =margin:0; border:0; padding:0;>< / a>
< a href =http://www.yoursite.com?name=your.subscriber@gmail.com&rating=5>< img alt =5src =width = 40height =40style =margin:0; border:0; padding:0;>< / a>


In my application we will get the feedback from the user by sending the emails to them. So that if the user fills the fields and submits then i'm storing it in my database.

I have prepared an html mail which look like this.

But the problem here is i am unable to show the rating stars in the mail. which requires inline css but i am unable to put that css in inline as that includes onhover css.

So is there any way to send the ratings through email.

Is there any way to the css on onhover inline Thank you in advance.

解决方案

Try over ruling your inline css with !important in your onhover css.

Thinking about the bigger picture however - forms are not fully supported in html email, so depending on your list, you could have 20%+ not able to use them. (form support chart here or here)

With this in mind, for 100% support, most email marketers send them to a landing page that hosts the form instead. Another option is to capture basic information using simple href tags and URL parameters. Something like this:

<!-- use star images that pass a custom url with user info -->
<a href="http://www.yoursite.com?name=your.subscriber@gmail.com&rating=1"><img alt="1" src="" width="40" height="40" style="margin: 0; border: 0; padding: 0;"></a>
<a href="http://www.yoursite.com?name=your.subscriber@gmail.com&rating=2"><img alt="2" src="" width="40" height="40" style="margin: 0; border: 0; padding: 0;"></a>
<a href="http://www.yoursite.com?name=your.subscriber@gmail.com&rating=3"><img alt="3" src="" width="40" height="40" style="margin: 0; border: 0; padding: 0;"></a>
<a href="http://www.yoursite.com?name=your.subscriber@gmail.com&rating=4"><img alt="4" src="" width="40" height="40" style="margin: 0; border: 0; padding: 0;"></a>
<a href="http://www.yoursite.com?name=your.subscriber@gmail.com&rating=5"><img alt="5" src="" width="40" height="40" style="margin: 0; border: 0; padding: 0;"></a>

这篇关于通过电子邮件询问评级的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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