我想发送一个链接供用户在注册后验证他们的帐户。但是当我使用www.singapore.com
时,$message
我能够收到电子邮件,但是当我将其更改回时,www.singapore.com.sg
我无法收到它。我想知道是因为链接还是我的代码中有错误?请帮我。
$domain ='www.singapore.com';
$id = mysql_insert_id();
$to = 'myemail@gmail.com';
$subject = "E-mail Verification";
$message = 'Click on the link to verify your account: http://'.$domain.'/rates/activation.php?id='.$id.' ';
$headers = "From: <Singapore> \r\n";
mail($to,$subject,$message,$headers, '-f enquiry@singapore.com.sg');