Closed Thread
Results 1 to 2 of 2
Like Tree3Likes
  • 2 Post By nalapachakamforum85
  • 1 Post By descalzo

Thread: SMF Forum Mail(0 not working in boru

  1. #1
    nalapachakamforum85's Avatar
    nalapachakamforum85 is offline x10Hosting Member nalapachakamforum85 is an unknown quantity at this point
    Join Date
    Jul 2011
    Posts
    11

    SMF Forum Mail(0 not working in boru

    Users can register at my forum because they are not recieving the activation mails sent out by the boru server? Is there any problem at the server?

    Iam currently using Simple machines Forum!

    Please try registering at my forum and check the activation email is recieving or not?

    Link: http://npforum.x10.mx/index.php?action=register

    Please help. This is a very serious issue for me!

    Thanks in advance!
    dinomirt96 and verlmirt17 like this.

  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: SMF Forum Mail(0 not working in boru

    To see what the problem is, please load this script (call it something like mail_test.php), edit the $from and $to values to match your domain and your outside email and then run from the web.

    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 "cPanelUserName@yourwebsite.com";
    $to="anEmailaccount@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();

    ?>
    karimirt47 likes this.
    Nothing is always absolutely so.

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 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. Mail room on server 'boru' closed ??
    By bdistler in forum Free Hosting
    Replies: 3
    Last Post: 11-25-2010, 11:03 AM
  4. Replies: 4
    Last Post: 10-16-2010, 02:01 AM
  5. Replies: 3
    Last Post: 02-11-2010, 02:09 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