Gmail 仅向我们的欢迎电子邮件发送垃圾邮件
当有人注册时,我们的网络应用程序会发送一封确认电子邮件。此邮件仅进入 Gmail 的垃圾邮件文件夹。我们发送的所有其他电子邮件均由最终用户的收件箱中正确接收。我花了几个小时研究这个问题,但似乎无法弄清楚它是电子邮件的实际 HTML 代码还是其他问题。你能帮忙吗?
这是我们的 HTML 电子邮件:
<html>
<div style="width: 600px; background: #f2f2f2; padding-bottom: 25px; padding-top: 25px;">
<div style="border: 1px solid #e0e9e8; width: 550px; background: #ffffff; margin-left: 25px; margin-right: 25px;">
<p style="font-family: arial; font-size: 18px; margin-left: 35px; margin-top: 15px;">Hi <?php echo $fname; ?>,</p>
<p style="font-family: arial; font-size: 14px; margin-left: 35px; margin-right: 30px; margin-top: 10px;">Your account has been created - now it is easier than ever to share with those who share your passion.</p>
<p style="font-family: arial; font-size: 12px; font-weight: bold; margin-left: 35px; margin-top: 15px;">Here are three ways for you to get started:</p>
<p style="font-family: arial; font-size: 12px; margin-left: 50px; margin-top: 10px;">- <a href="http://www.livthis.com">complete your profile</a></p>
<p style="font-family: arial; font-size: 12px; margin-left: 50px; margin-top: 10px;">- install the <a href="http://www.theliv.com/liv/staticpages/button">bookmarklet</a>. It lets you add an item from any website with just one click.</p>
<p style="font-family: arial; font-size: 12px; margin-left: 50px; margin-top: 10px;">- <a href="http://www.theliv.com/liv/wishlists/home/everyone">discover great items</a> by other members</p>
<p style="font-family: arial; margin-left: 35px; padding-bottom: 20px; padding-top: 25px;">Enjoy!<br>- The Liv Team</p>
</div>
</div>
</html>
这是我们的文本电子邮件:
Hi <?php echo $fname; ?>,
Your account has been created - now it is easier than ever to share with those who share your passion.
Here are three ways for you to get started:
- complete your profile
- install the bookmarklet. It lets you add an item from any website with just one click.
- discover great items by other members
Enjoy!- The Liv Team
有人可以帮忙吗?
Our web app sends a confirmation email when a person signs up. This message is getting in the spam folder in gmail only. All our other emails we send out are correctly received by the end user in their inbox. I have spent hours and hours looking into this and can't seem to even figure out if it the actual HTML code of the email or another issue. Can you help please?
Here is our HTML email:
<html>
<div style="width: 600px; background: #f2f2f2; padding-bottom: 25px; padding-top: 25px;">
<div style="border: 1px solid #e0e9e8; width: 550px; background: #ffffff; margin-left: 25px; margin-right: 25px;">
<p style="font-family: arial; font-size: 18px; margin-left: 35px; margin-top: 15px;">Hi <?php echo $fname; ?>,</p>
<p style="font-family: arial; font-size: 14px; margin-left: 35px; margin-right: 30px; margin-top: 10px;">Your account has been created - now it is easier than ever to share with those who share your passion.</p>
<p style="font-family: arial; font-size: 12px; font-weight: bold; margin-left: 35px; margin-top: 15px;">Here are three ways for you to get started:</p>
<p style="font-family: arial; font-size: 12px; margin-left: 50px; margin-top: 10px;">- <a href="http://www.livthis.com">complete your profile</a></p>
<p style="font-family: arial; font-size: 12px; margin-left: 50px; margin-top: 10px;">- install the <a href="http://www.theliv.com/liv/staticpages/button">bookmarklet</a>. It lets you add an item from any website with just one click.</p>
<p style="font-family: arial; font-size: 12px; margin-left: 50px; margin-top: 10px;">- <a href="http://www.theliv.com/liv/wishlists/home/everyone">discover great items</a> by other members</p>
<p style="font-family: arial; margin-left: 35px; padding-bottom: 20px; padding-top: 25px;">Enjoy!<br>- The Liv Team</p>
</div>
</div>
</html>
Here is our text email:
Hi <?php echo $fname; ?>,
Your account has been created - now it is easier than ever to share with those who share your passion.
Here are three ways for you to get started:
- complete your profile
- install the bookmarklet. It lets you add an item from any website with just one click.
- discover great items by other members
Enjoy!- The Liv Team
Can anyone help please?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据此标准检查您的消息。这似乎是一个很好的来源:
http://kb.mailchimp.com/article/垃圾邮件过滤器如何思考
Check your message against this criteria. It seems like a good source:
http://kb.mailchimp.com/article/how-spam-filters-think
您的 HTML 电子邮件中似乎缺少
标记。尝试通过 HTML 验证器运行它,例如 W3C Validator。
Looks like you're missing a
<body>
tag in your HTML email. Try running it through an HTML validator such as the W3C Validator.