我刚刚在托管的网站上添加了邮件,以下邮件正在发生:
我正在测试的脚本非常基本:
$to_address = "example@mydomain.com";
$subject = "This goes in the subject line of the email!";
$message = "This is the body of the email.\n\n";
$headers = "From: example@mydomain.com\r\n";
mail("$to_address","$subject","$message","$headers");
我需要更改设置才能使用,或者应该寻找?
我检查过垃圾邮件,邮件也没有收到。