0
내 코드서명의 Gmail
$headers = 'MIME-Version: 1.0' . PHP_EOL;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . PHP_EOL;
$headers .= 'From: Me <[email protected]>' . PHP_EOL;
imap_mail('[email protected]','test',"$output","$headers");
메일에 서명 할 수있는 방법이 있습니까? 나는 이메일을 보내는 테스트 위의 코드를 사용할 때, 나는 이메일을 수신하지만 오류
This message may not have been sent by: [email protected] Learn more Report phishing
을 얻고있다
according to gmail 그들은 내가 메일을 보내 Gmail이 IMAP을 사용하고
인증하기 위해 헤더에 서명 된 데이터를 첨부 할
$inbox = imap_open($hostname,$username,$password)
or die('Cannot connect to Gmail: ' . imap_last_error());
php imap을 사용하여 이메일을 인증하는 방법이 있습니까?
그냥 구글의 SMTP 서비스 관련 제안 요청 (RFP)에 부합하지 않는 방식으로 헤더을 조작하는 참고 : http://lee-phillips.org/gmailRewriting/ –