Closed Thread
Results 1 to 3 of 3

Thread: php mail() function not working

  1. #1
    t44studio is offline x10Hosting Member t44studio is an unknown quantity at this point
    Join Date
    Apr 2008
    Location
    Chicago
    Posts
    16

    php mail() function not working

    I have a contact form on my site that utilizes the php mail() function to allow a user to send me an email. It worked fine until Saturday, July 23rd when it completely stopped working. I have not made any edits to my code.

    Is there some maintenance going on or is php mail() down? If so, when can we expect this to come back up? I'm on the boru server if that helps.

    Thanks in advance!

  2. #2
    Skizzerz's Avatar
    Skizzerz is offline Contributors Skizzerz will become famous soon enough
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    2,153

    Re: php mail() function not working

    Hello,

    mail() should be fully functional. Try setting a From: address if you have not already to get bounce messages in case the delivery fails (and also to get around the email block lists that many email providers use, which occasionally block x10)
    Ryan Schmidt | Level 2 Support
    █ 888-X10-9668 - ryan[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004
    Premium Hosting | VPS Services

  3. #3
    t44studio is offline x10Hosting Member t44studio is an unknown quantity at this point
    Join Date
    Apr 2008
    Location
    Chicago
    Posts
    16

    Re: php mail() function not working

    I've been doing testing lately (sending an email to myself through the form) because I was thinking of redesigning. It was working fine (not being blocked or anything) until last Saturday. But now, it passes the error checking and does nothing. Has something changed?

    ---------- Post added at 07:30 PM ---------- Previous post was at 07:18 PM ----------

    Okay, I added a test php file to my public_html directory just for testing purposes. It should just send an email from myself to myself, but it still doesn't work. This is the entire code:

    HTML Code:
    <?php
    
    $mailTo = 't44studio@gmail.com';
    $mailFrom = 't44studio@gmail.com';
    $subject = 'test subject';
    $message = 'test message';
    $headers = 'From: '.$mailFrom;
    $success=mail($mailTo, $subject, $message, $headers);
    if($success){echo "Success";}
    ?>
    It echo's "Success", but doesn't send any email. It's not in my spam or my trash or anywhere. Am I missing something? This is driving me crazy!
    Last edited by t44studio; 07-28-2011 at 07:34 PM.

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. mail() function is not working
    By Gonrah in forum Free Hosting
    Replies: 2
    Last Post: 03-13-2011, 08:30 AM
  4. 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
  5. Replies: 4
    Last Post: 10-16-2010, 02:01 AM

Tags for this Thread

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