hamed
Verified User
Hello,
When I send emails using php mail() function, the sender will be like this:
username@hostname
for example: [email protected]
the script is fine, I tried it on my other DA servers and it's fine there, but one of the servers has this error!
Here it's the PHP code:
Anyone has any idea how it can be solved?
Thanks
When I send emails using php mail() function, the sender will be like this:
username@hostname
for example: [email protected]
the script is fine, I tried it on my other DA servers and it's fine there, but one of the servers has this error!
Here it's the PHP code:
PHP:
<?
$header="From: [email protected]\n";
$msg="My test";
$email="[email protected]";
mail($email,"Activation email",$msg,$header);
?>
Anyone has any idea how it can be solved?
Thanks