임 사용하여 다음과 같은 PHP 코드 메일 보내기 :PHP : 링크
$mailacc = "[email protected]";
$subject = "Hello";
$message = "
<html>
<head>
<title>Test Mail</title>
</head>
<body>
<p><a href='http://stackoverflow.com'>Open Link</a></p>
</body>
</html>
";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: Noreply <[email protected]>' . "\r\n";
$mail = mail($mailacc, $subject, $message, $headers);
을하지만 내가 링크를 제거하고 workes 텍스트에 넣어 경우, 메일을 보내 dosent. 내 메시지에 링크가없는 이유는 무엇입니까? 추신 : $ mailacc 내 실제 이메일 계정입니다.
Thx!
표시되는 오류는 무엇입니까? – Mob
나는 아무 오류도 얻지 않는다. 다만 나의 dosent에 온다. – Linqan
우편물에있는 당신의 쓰레기 폴더를 검사하십시오. – Mob