Closed Thread
Results 1 to 3 of 3

Thread: PHP MAIL() Not Working please read it.

  1. #1
    sreeraj.hcr76 is offline x10Hosting Member sreeraj.hcr76 is an unknown quantity at this point
    Join Date
    May 2011
    Posts
    4

    PHP MAIL() Not Working please read it.

    I like x10hosting Service very much.
    I am sorry to say the following problem.
    PHP mail() not working for me now.
    Please read my following script which worked on another hosting server.
    Should I make any modification on script?

    (I get "mail was sent by php" message.But mail not delivered)(Already checke on spam folder.) But...

    <?php
    error_reporting(E_ALL);
    ini_set("sendmail_from" , "admin@sreemagic.x10.mx");
    $to = 'shine1359@gmail.com';
    if(mail($to, 'Testing mail' , 'php mail working.'))
    {
    echo 'mail was sent by php';
    }
    else
    {
    echo 'PHP could not sent the mail';
    }
    ?>
    Last edited by sreeraj.hcr76; 09-09-2011 at 02:09 PM.

  2. #2
    Corey's Avatar
    Corey is online now VPS Migration Professional Corey is a glorious beacon of lightCorey is a glorious beacon of light
    Join Date
    Dec 2004
    Location
    Northfield, NH
    Posts
    17,151

    Re: PHP MAIL() Not Working please read it.

    Where is the test script located? I just looked at the maillogs and the only email I see going to your gmail account was on August 27th, and was a welcome email.
    Corey Arbogast | CEO
    █ 888-X10-9668 - corey[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004
    Premium Hosting | VPS Services

  3. #3
    sreeraj.hcr76 is offline x10Hosting Member sreeraj.hcr76 is an unknown quantity at this point
    Join Date
    May 2011
    Posts
    4

    Re: PHP MAIL() Not Working please read it.

    Quote Originally Posted by Corey View Post
    Where is the test script located? I just looked at the maillogs and the only email I see going to your gmail account was on August 27th, and was a welcome email.

    thanx for reply.
    I placed the above script on public_html folder.(not in subfolder)
    anyway I want only three answers,
    1. Any problem in my script?
    2. Is PHP mail() working on lotus server?
    3. What are the important things while using php mail() ?
    Please add it on FAQ
    Last edited by sreeraj.hcr76; 09-11-2011 at 01:34 PM.

Closed Thread

Similar Threads

  1. 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
  2. Replies: 4
    Last Post: 10-16-2010, 02:01 AM
  3. php imap read x10hosting mail
    By tgkprog in forum Programming Help
    Replies: 0
    Last Post: 03-30-2010, 03:27 AM
  4. certificate needed to read/send e-mail
    By michelw in forum Free Hosting
    Replies: 1
    Last Post: 05-07-2008, 09:11 AM
  5. They pay me to read e-mail
    By figu120 in forum Off Topic
    Replies: 20
    Last Post: 12-07-2007, 09:49 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