tay_max_2005
New member
Hi
I can't send email to my server using mail() function in PHP.
$headers = "From: [email protected]";
mail('[email protected]', 'Testing the mail', 'themessage',$headers,'[email protected] ');
However if i change [email protected] to another email address its sends the emails. I simply cant send emails to myself using mail function. i have turned off spam filtering as well. this code works on my other website
I can't send email to my server using mail() function in PHP.
$headers = "From: [email protected]";
mail('[email protected]', 'Testing the mail', 'themessage',$headers,'[email protected] ');
However if i change [email protected] to another email address its sends the emails. I simply cant send emails to myself using mail function. i have turned off spam filtering as well. this code works on my other website