Ben bir e-posta gönderen bir php komut dosyası var. Bu şuna benzer:
<?php
// subject
$subject = "$first_name $last_name has sent you a message on The Red-line";
// message
$message = "<html>
<head>
<title>
The Red-line
</title>
</head>
<body>
<p>
Hi $war_first,
</p> <br />
<p>
$first_name $last_name has sent you a message on the Red-line. To view your message, please login to <a href='www.thered-line.com'>the Red-line.</a>
</p> <br />
<p>
Sincerely,
</p> <br />
<p>
The Red-line Operator
</p>
</body>
</html>";
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
$headers .= "From: The Red-line messages@theredline.com \r\n";
$headers .= "To: $war_first $last_war <$war_mail>\r\n";
// Mail it
mail($war_mail, $subject, $message, $headers);
?>
Ben uzak sunucuda bu dışarı test ederken, ben turbocapitalist1987@yahoo.com benim doğuştan bir e-posta göndermek için bu komut kullanılır. Ben e-posta aldım, ancak bir parçası "dan" çalışmıyor. Yahoo e-posta "the@yahoo.com" gönderilmiş olduğunu söylüyor
Herkes bu çalışmıyor neden olarak bir ipucu var mı?
Teşekkürler