Closed Thread
Results 1 to 3 of 3

Thread: mail() function returning false - no warnings or errors (Boru)

  1. #1
    thebody44's Avatar
    thebody44 is offline x10Hosting Member thebody44 is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    Kansas City
    Posts
    5

    mail() function returning false - no warnings or errors (Boru)

    I'm getting around to performing some updates on my website and I noticed that my mail() functions are not sending - the function call just returns false. The page below has 4 var_dumps (To, Subject, Body, Headers - respectively) and then a message based on the return value of the mail() function call. Can someone please help me determine the point of failure. I'm on Boru. Thanks.

    http://www.elementarypaper.com/__test.php

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: mail() function returning false - no warnings or errors (Boru)

    Try adjusting the content type to:

    Content-type: text/plain
    Nothing is always absolutely so.

  3. #3
    thebody44's Avatar
    thebody44 is offline x10Hosting Member thebody44 is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    Kansas City
    Posts
    5

    Re: mail() function returning false - no warnings or errors (Boru)

    I'll try that tomorrow though it's kind of self defeating since my end goal is to create HTML emails. Thanks for the response though. I'll report back soon.

    ---------- Post added 09-02-2011 at 08:04 AM ---------- Previous post was 09-01-2011 at 10:44 PM ----------

    Updated to text/plain and still no dice. The email address I'm sending from is a valid one in my cPanel but I haven't setup any of the authentication inside cPanel for it. Do I need to do anything there? Any help is appreciated. Thanks.

Closed Thread

Similar Threads

  1. ERROR PHP mail function - server Boru
    By bdistler in forum Free Hosting
    Replies: 1
    Last Post: 08-04-2011, 07:53 AM
  2. php info and php mail() function, route to mail from server
    By fammking.mak17 in forum Free Hosting
    Replies: 0
    Last Post: 02-22-2011, 03:50 AM
  3. Replies: 2
    Last Post: 09-08-2010, 01:50 PM
  4. PHP MAIL function returned FALSE for the last 2 hours
    By bakakunbakachan in forum Free Hosting
    Replies: 0
    Last Post: 05-26-2008, 02:23 PM
  5. Mail delivery failed: returning message to sender
    By didink in forum Free Hosting
    Replies: 3
    Last Post: 09-14-2006, 10:51 AM

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