Closed Thread
Results 1 to 2 of 2

Thread: php mail() function not working

  1. #1
    ryan.mcmillan1045's Avatar
    ryan.mcmillan1045 is offline x10Hosting Member ryan.mcmillan1045 is an unknown quantity at this point
    Join Date
    Jul 2010
    Posts
    20

    php mail() function not working

    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

  2. #2
    stpvoice's Avatar
    stpvoice is offline Community Support Rep stpvoice has a brilliant futurestpvoice has a brilliant futurestpvoice has a brilliant future
    Join Date
    Dec 2008
    Location
    United Kingdom
    Posts
    5,939

    Re: php mail() function not working

    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.


Closed Thread

Similar Threads

  1. is php mail() function working?
    By web.houstontoh88 in forum Programming Help
    Replies: 19
    Last Post: 05-06-2011, 08:04 AM
  2. is php mail() function working?
    By web.houstontoh88 in forum Free Hosting
    Replies: 0
    Last Post: 04-23-2011, 01:40 AM
  3. PHP Mail function not working.Please check the mail log
    By vv.bbcc19 in forum Free Hosting
    Replies: 0
    Last Post: 01-15-2011, 12:08 AM
  4. Replies: 4
    Last Post: 10-16-2010, 02:01 AM
  5. Is mail() php function working
    By unodot in forum Free Hosting
    Replies: 1
    Last Post: 04-14-2010, 10:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers