我们的网络应用会在有人注册时发送确认电子邮件。此邮件仅在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
有人可以帮忙吗?
答案 0 :(得分:1)
根据此条件检查您的邮件。这似乎是一个很好的来源:
答案 1 :(得分:0)
您的HTML电子邮件中似乎缺少<body>
标记。尝试通过HTML验证程序(例如W3C Validator。