前往Yahoo中的SPAM的电子邮件和URL不起作用 [英] Email going to SPAM in yahoo and URL not working

查看:91
本文介绍了前往Yahoo中的SPAM的电子邮件和URL不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编写了一个脚本来从我的网站发送电子邮件.我在gmail,Outlook和hotmail中的收件箱中收到电子邮件,但在yahoo中,它会转到SPAM文件夹,并且在Yahoo中无法使用URL.我的代码有什么问题, 标题

I write a script to send email from my website. I recieve email in inbox in gmail, outlook and hotmail but in yahoo, its going to SPAM folder and also URL in not working in yahoo. Whats wrong in my code, Header

$headers  = "MIME-Version: 1.0 \r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1 \r\n";
$headers .= "From: $Name <$Email> \r\n"; 
$headers .= "Reply-To: $Email\r\n";

带有URL的邮件

$message.= "<a href='https://www.google.com'>Click here</a>";

推荐答案

PHP邮件功能未使用配置正确的SMTP服务器,因此这可能是原因或尝试使用

PHP-Mail function is not uses a well configured SMTP Server so may be this is a reason or try to Use the PHPMailer-Class. or you need to try with full headers

链接也无法正常工作,则导致您的邮件成为垃圾邮件.需要移到收件箱中看看.

Also links not working cause your mail in spam. need to move in inbox and see.

http://www.velvetblues.com/web-development-blog/avoid-spam-filters-with-php-mail-emails/

有关更多信息,请遵循:-通过php邮件发送电子邮件功能转到垃圾邮件

For more info follow:- sending email via php mail function goes to spam

这篇关于前往Yahoo中的SPAM的电子邮件和URL不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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