简体   繁体   English

Gmail标记为带有html和锚链接的垃圾邮件

[英]Gmail mark as spam email with html and anchor links

first of all, sorry for my bad English =( 首先,抱歉我的英语不好=(

I created an HTML email, send it to yahoo, hotmail and gmail, the first and the second work's ok, received in the front of the inbox, but, the gmail mark as spam, but it will mark it as span only with I send these HTML codes: 我创建了一个HTML电子邮件,将其发送到yahoo,hotmail和gmail,第一个和第二个工作没问题,在收件箱前面收到,但是,gmail标记为垃圾邮件,但它会将其标记为span, 只有我发送这些HTML代码:

                <tr>
                    <td colspan="2" style="padding:10px; border:2px solid #e3e3e3; text-align:center;"><a href="%%url%%" style="font-size:14px; text-decoration:none; color:#595959;"><span>Clique aqui e confira todas as informações e fotos dessa embarcação em nosso site - ID %%id%%</span></a></td>
                </tr>
                <tr>
                    <td colspan="2" style="padding:8px 10px; border-top:15px solid #fff; border-bottom:10px solid #fff; font-size:16px; text-transform:uppercase; color:#c90000; background:#e6e6e6;">Destaques YachtBrasil</td>
                </tr>
                <tr>
                    <td colspan="2" align="center" style="padding:3px; border:2px solid #e7e7e7;"><a href="http://www.yachtbrasil.com.br/"><span><img src="http://www.yachtbrasil.com.br/img/temp/YB-banner-email-site.jpg" alt="" style="display:block; border:none;" /></span></a></td>
                </tr>

It happens because of the anchor links, if I remove the stuff, it will work and send the email, the question is, How can I send anchor links to not be marked as Spam using gmail? 它发生是因为锚链接,如果我删除的东西,它将工作并发送电子邮件,问题是,我如何发送锚链接不使用Gmail标记为垃圾邮件? I'm sending this email using a enterprise googlemail account. 我使用企业googlemail帐户发送此电子邮件。

Thanks for the tips, I search here and at google and just find the tip after the anchor link. 感谢您的提示,我在这里和谷歌搜索,只是找到锚链接后的提示。

Best regards. 最好的祝福。

The problem is fixed! 问题是固定的!

If you have an email with all the headers corrects, but the email still is not getting to inbox destination, you should explicitly type some anchor parameters, such as target=blank and shape=rect . 如果您的电子邮件中包含所有标题更正,但电子邮件仍未到达收件箱目标,则应明确键入一些锚参数,例如target=blankshape=rect

See the example: 看例子:

<a href="link.html" target="_blank" style="style....">Test</a>

Should only contain: 应该只包含:

<a href="link.html" target="_blank" shape="rect">Test</a>

This will let the links be redirected to the inbox and not the spam folder! 这会将链接重定向到收件箱而不是垃圾邮件文件夹!

Thanks for the negative vote in the question, next time please read the question carefully and try to help! 感谢问题中的反对,下次请仔细阅读问题并尽力帮助!

Don't send HTML through email! 不要通过电子邮件发送HTML!

E-mail is not meant to contain HTML (despite some conventions ) and we, as developers, should avoid doing it. 电子邮件并不意味着包含HTML(尽管有一些约定 ),作为开发人员,我们应该避免这样做。 Always should have and still must have, because not all email clients support the standards . 始终应该并且仍然必须拥有,因为并非所有电子邮件客户端都支持这些标准

So, we should give links, full URLs with no a href what so ever, at very least. 所以,我们应该至少提供链接,完整的URL,没有a href Do not account the email reader will be able to read the HTML formatted email. 不要帐户电子邮件阅读器将能够阅读HTML格式的电子邮件。

That being said... 话虽如此...

HTML in email does have its place and usage 电子邮件中的HTML确实有它的位置和用法

Because, granted, pure TEXT is way too poor. 因为,授予纯TEXT太差了。 I personally think ideally all emails should refuse HTML and accept only some kind of MarkUp / MarkDown, but that may never happen even if Gmail or a few big ones would do it. 我个人认为理想情况下,所有电子邮件都应该拒绝HTML并且只接受某种MarkUp / MarkDown,但即使Gmail或一些大型电子邮件可能会这样做,也可能永远不会发生这种情况。

Also I couldn't even reproduce your "problem" on Gmail today (august 2013). 此外,我今天甚至无法在Gmail上重现您的“问题”(2013年8月)。 Using a simple HTML email generator I could safely send <a href="link.html" target="_blank" style="style....">Test</a> into my own gmail inbox. 使用简单的HTML电子邮件生成器,我可以安全地将<a href="link.html" target="_blank" style="style....">Test</a>发送到我自己的Gmail邮箱中。

On an update note, there's now a much related question filled with good answers . 在更新说明中,现在有一个相关的问题充满了很好的答案 Here are 3 links from there that can help you: 这里有3个链接,可以帮助您:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM