php mail() function not working

Status
Not open for further replies.

ryan.mcmillan1045

New Member
Messages
20
Reaction score
0
Points
0
hi, the mail() function is not working correctly, it returns true and says email sent , but i cant receive the mail on my yahoo mail account or even my squirellmail account on my hosting package , any help would be appreciated
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

I've just tested php mail() on your server and it sent me a message with no issues. Some providers mark mail from x10 as spam due to past abuse, so check the junk mail box. Also, ensure the from headers in your script aren't forged, as if the address you're sending from doesn't exist in your cPanel it won't send. Also, ensure the content-type header is present and set to text/plain, or it will not send.

Thanks.
 
Status
Not open for further replies.
Top