Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 18
Like Tree1Likes

Thread: Php mail is not working on Starka

  1. #1
    hero1711 is offline x10Hosting Member hero1711 is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    28

    Php mail is not working on Starka

    Please fix this, it has been 1 week already, I really need this function.
    innovateu56 likes this.

  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 is not working on Starka

    Hello,

    The php mail() function is enabled and works properly on starka, please check your syntax and parameters in your mail script.
    Ryan Schmidt | Level 2 Support
    █ 888-X10-9668 - ryan[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004
    Premium Hosting | VPS Services

  3. #3
    hero1711 is offline x10Hosting Member hero1711 is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    28

    Re: Php mail is not working on Starka

    No it does not work, this is my test mail script Test Mail. It went to "Mail Sent." without any errors, but I didn't receive any email at all:

    Code:
    <?php
     $to = "test@hero1711.com";
     $subject = "Test mail";
     $message = "Hello! This is a simple email message.";
     $from = "test@hero1711.com";
     $headers = "From:" . $from;
     mail($to,$subject,$message,$headers);
     echo "Mail Sent.";
     ?>
    Last edited by hero1711; 08-13-2011 at 12:38 PM.

  4. #4
    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: Php mail is not working on Starka

    Send it to an account outside of x10hosting.

    PHP Code:
    <?php


    //  TEST OF THE MAIL SYSTEM USING PHP mail()

    date_default_timezone_set('America/Los_Angeles');
    echo 
    date('l jS \of F Y h:i:s A'); 
    echo 
    "\n";

    $from "test@hero1711.com";
    $to="myGmailAccount@gmail.com"


    $mailbody="Test message sent (PST): \n" date('l jS \of F Y h:i:s A');
    $subject="Test of PHP mail()" ;

    $headers "Content-type: text/plain; charset=windows-1251 \r\n";
    $headers .= "From: $from\r\n";
    $headers .= "Reply-To: $from\r\n";
    $headers .= "MIME-Version: 1.0\r\n";
    $headers .= "X-Mailer: PHP/" phpversion();

    $resp mail($to$subject$mailbody$headers);

    if( 
    $resp ){
        
    $outcome "Mail sent" ;
    } else {
        
    $outcome "Mail not sent";
    }

    print 
    "\nThe mail system said: $outcome\n\n" ;
    exit();

    ?>
    Nothing is always absolutely so.

  5. #5
    hero1711 is offline x10Hosting Member hero1711 is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    28

    Re: Php mail is not working on Starka

    Mails of hero1711.com are hosted on Google. But sending to another email address outside of hero1711.com works. Is that a misconfiguration of the php mail function? It worked well before the upgrade.
    I need to send emails to addresses on hero1711.com.
    Last edited by hero1711; 08-13-2011 at 10:26 PM.

  6. #6
    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: Php mail is not working on Starka

    Well, at least the mail() function works.

    How about trying to send it from test@hero1711.com to foo@hero1711.com (where foo is another account on gmail). Thinking that having the 'From' and 'To' addresses the same might cause the x10 anti-spam filters to eat the email.
    Nothing is always absolutely so.

  7. #7
    hero1711 is offline x10Hosting Member hero1711 is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    28

    Re: Php mail is not working on Starka

    I tried from test@hero1711.com to hero1711@hero1711.com (both of them are real addresses) and it did not work.

  8. #8
    hero1711 is offline x10Hosting Member hero1711 is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    28

    Re: Php mail is not working on Starka

    Bump!

  9. #9
    hero1711 is offline x10Hosting Member hero1711 is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    28

    Re: Php mail is not working on Starka

    Bump!

  10. #10
    hero1711 is offline x10Hosting Member hero1711 is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    28

    Re: Php mail is not working on Starka

    Bump!

Closed Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Mail Function Not working, Neither CronJobs..<starka/>
    By gangoos88 in forum Free Hosting
    Replies: 2
    Last Post: 06-29-2011, 07:54 AM
  2. 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
  3. Replies: 4
    Last Post: 10-16-2010, 02:01 AM
  4. SSL NOT working on STARKA
    By deal4save in forum Free Hosting
    Replies: 22
    Last Post: 06-10-2010, 06:03 PM
  5. PHP Mail() on Starka not working
    By Plupke in forum Free Hosting
    Replies: 1
    Last Post: 03-25-2010, 09:53 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