Email going to SPAM in yahoo and URL not working

邮差的信 提交于 2019-12-11 12:35:18

问题


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";

Message with URL

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

回答1:


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/

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



来源:https://stackoverflow.com/questions/22350514/email-going-to-spam-in-yahoo-and-url-not-working

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!