0

PHP からのメール送信に問題があります: Mercury を設定し、表示プログラム Mercury で成功メールを送信しましたが、PHP ではメールは送信されましたが、受信されませんでした。これは私のphpコードです:

$to = "my_email@gmail.com";
$subject = "Test email from localhost with Mercury";
$fromheader = "From : admin@df.vn";
$content = "This email is a test mail send from localhost. If you read this line, it's working OK ";
$ok = mail($to,$subject,$content,$fromheader);
if($ok) 
echo "Mail send OK. Look at MM proccess to watch if it out the localhost. If error, check all your step again !";
else echo "Holly sh!t, something wrong ?";
4

0 に答える 0