Closed Thread
Results 1 to 4 of 4
Like Tree3Likes
  • 1 Post By ellescuba27
  • 1 Post By descalzo
  • 1 Post By ellescuba27

Thread: Please help! Cannot send mail!

  1. #1
    ellescuba27 is offline x10 Sophmore ellescuba27 is an unknown quantity at this point
    Join Date
    Sep 2011
    Posts
    150

    Please help! Cannot send mail!

    Hello guys!
    (Just going to confirm that there was absolutely nothing about this on status.x10hosting.com, because by the time I had the error, all the issues on the status website were marked "Completed")
    OK, so I am sending mail with PHP from my site. I know the code is working because it was working a while ago, but now it doesn't. I am sending from my X10hosting email account, so forged header is off the list. I have not reached the mail limit, so cross that off the list too. In fact, whenever I send mail, I get Error 111. My conclusion would be that X10hosting thinks that I am sending from a forged header when I'm not, since the suggestion they give me on Live Chat was "Don't use forged headers". So I am guessing this is a server error. You see, the same thing happened a couple of weeks ago, and I kept getting Error 111, and then all of the sudden, it worked, and now since about 3 days ago, it doesn't work. So what's going on? Can you fix it?

    BTW Happy Holidays!
    dinomirt96 likes this.

  2. #2
    ellescuba27 is offline x10 Sophmore ellescuba27 is an unknown quantity at this point
    Join Date
    Sep 2011
    Posts
    150

    Re: Please help! Cannot send mail!

    Please give me an actual human message? I just want to know what's going on.

  3. #3
    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,636

    Re: Please help! Cannot send mail!

    If you could post the code you use (between CODE tags) it might help us find the problem.
    karimirt47 likes this.
    Nothing is always absolutely so.

  4. #4
    ellescuba27 is offline x10 Sophmore ellescuba27 is an unknown quantity at this point
    Join Date
    Sep 2011
    Posts
    150

    Re: Please help! Cannot send mail!

    Thanks very much for the reply (and during the Holidays too)!!
    Ok, here it is after being tweaked and tweaked again (blocked out email and password), I'm using PHPMailer:

    PHP Code:
    <?php
    require_once("phpmailer/class.phpmailer.php");
    $error null;
    function 
    smtpmailer($to$subject$message$winerror$failerror) {
    global 
    $error;
    $mail = new PHPMailer();
    $mail->IsSMTP();
    $mail->Username "(blocked)";
    $mail->Password "(blocked)";
    $mail->Host "mail.(blocked)";
    $mail->Port 25;
    $mail->SMTPAuth true;
    $mail->SetFrom("(blocked)""The Educator");
    $mail->AddAddress($to);
    $mail->AddReplyTo("(blocked)""The Educator");
    $mail->Subject $subject;
    $mail->Body $message;
    $mail->SMTPDebug 0;
    if(!
    $mail->Send()) {
    $error true;
    echo 
    $failerror;
    } else {
    $error false;
    echo 
    $winerror;
    }
    }
    ?>
    And I call it from another page like this:
    PHP Code:
    require("themailingscript.php");
    smtpmailer($_POST["email"], "The Educator""This is the message I am sending you""A message has been sent to $_POST[email].""This just in, we could not send you a message. Your email was likely verified but the message could not be sent. This is likely a problem with our mail sending system, please come back later and the problem will probably be fixed."); 
    As well, I later found out I couldn't send mail with a regular email client either, meaning it's a server problem.
    ejweb likes this.

Closed Thread

Similar Threads

  1. php mail appears to send, mail not received
    By x10mx295 in forum Free Hosting
    Replies: 0
    Last Post: 11-19-2011, 04:25 AM
  2. I can receive e-mail but can't send e-mail.
    By darryl in forum Free Hosting
    Replies: 0
    Last Post: 03-09-2011, 08:46 AM
  3. PHP send mail - Unable to send to Yahoo! email addresses
    By royyuuki in forum Programming Help
    Replies: 7
    Last Post: 03-02-2010, 10:09 AM
  4. Cant send mail in mail client
    By mrbigdownlow in forum Free Hosting
    Replies: 2
    Last Post: 05-31-2008, 08:55 PM
  5. Replies: 3
    Last Post: 12-03-2007, 08:56 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