2014-12-13 5 views
0
$transport = Swift_MailTransport::newInstance(); 
$messages1 = " 
<!DOCTYPE> 
<html> 
    <body> 
    Thank you for registering an account on www.satperfectscore.com 
      <br> 
Please use <a href=".$mail.">this link</a> to verify your account. 
<br> 
After verification you will be entitled to 2 practice tests and 300 quiz questions. 
    <body> 
</html>"; 
$messages2 = "Use the URL to verify your account: ".$mail.""; 
$message = Swift_Message::newInstance(); 
$message->setContentType("text/plain"); 
$message->setTo($to); 
$message->setSubject("Account Verification"); 
$message->setBody($messages2); 
$message->addPart($messages1); 
$message->setFrom(array("[email protected]"=> "SAT Perfect Score")); 


$mailer = Swift_Mailer::newInstance($transport); 
$mailer->send($message); 

메시지는 결코받는 사람이 .. 도달 : 내가 잘못 여기서 뭘하지 무슨을이메일이 스팸 폴더에 도달하기 전에 차단하기

Event: failure error  
User: arasmus1 
Domain: satperfectscore.com  
Sender: [email protected]  
Sent Time: Dec 13, 2014 8:33:20 PM  
Sender Host: localhost  
Sender IP: 127.0.0.1  
Authentication: localuser  
Spam Score:  
Recipient: [email protected]  
Delivery User:  
Delivery Domain:   
Delivered To:  
Router: send_via_spamgateway 
Transport: spamgateway_smtp 
Out Time: Dec 13, 2014 8:33:20 PM 
ID: 1XzoDt-0006ZH-4J 
Delivery Host: productio-tcloadba-tkyjfaz4ap1l-328615543.us-west-2.elb.amazonaws.com  
Delivery IP: 54.214.22.243  
Size: 1.56 KB 

Result: 
SMTP error from remote mail server after end of data: host productio-tcloadba-tkyjfaz4ap1l-328615543.us-west-2.elb.amazonaws.com [54.214.22.243]: 550 5.7.1 [CS] Message blocked. To fix this, visit http://fp.outboundfiltering.com/?str=0001.0 

? 나는 스팸 폴더에 도달하지도 않습니다 ..

+0

메시지는받는 사람의 이메일 서버에 의해 차단되었습니다 - 그것의 스팸 메일을 생각한다. 이것은 아마도 [ServerFault] (http://serverfault.com/)에 더 적합합니다 – Rhumborl

+0

오류 메시지를 읽었습니까? 링크를 방문 했습니까? – tripleee

+1

이 질문은 프로그래밍에 관한 것이 아니기 때문에 전자 메일의 전달 가능성에 관한 주제이므로 다루지 않습니다. – tripleee

답변

0

그것은 목적지 IP 주소가 서버의 메일 서버에 의해 차단 되었기 때문입니다. 서버의 IP는 블랙리스트에 있으므로 이메일을 스팸 폴더로 옮기는 대신 이메일을 무시합니다.

차단되어 있는지 확인하려면 Gmail 주소로 이메일을 보내보십시오.

오류가 말한대로

, 당신은 당신의 서버를 차단 해제를 위해이 링크로 이동 할 수 있습니다 http://fp.outboundfiltering.com/?str=0001.0

관련 문제