ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


SMTP ERROR Failed to connect to server Network is unreachable 101


  • 2015-10-04 13:26:25

    SMTP ERROR Failed to connect to server Network is unreachable 101

    Hi;
    External SMTP server can not send the mail to the users those who forgot their passwords;
    The settings we have and the information about the version is listed below.
    Even though we read the forms, the problem was not solved.
    We would be glad if you could help. Thenks.
    Cahit Cengizhan

    1:
    Forgot your password?
    The following errors occurred:
    There was an error sending the email message.
    2:
    SMTP -> ERROR: Failed to connect to server: Network is unreachable (101)

    -----------------------------
    My settings of Atutor;
    /include/config.inc.php
    define('MAIL_USE_SMTP', TRUE);
    --------------------------------------------
    /include/classes/phpmailer/class.phpmailer.php
    var $Mailer = "smtp";
    // SMTP VARIABLES
    var $Host = "mail.Myhosting.com";
    var $Port = 587;
    var $SMTPAuth = true;
    var $Username = "mail@Myhosting.com";
    var $Password = "**********";
    var $SMTPDebug = true;
    ----------------------------------------
    Things to describe:
    Operating system ATutor is installed on - Linux ??? I'm using Hosting Services
    ATutor version - 2.2(XXX - 2015-10-04 15:05:10).
    Patch #s applied - 001-0013 All installed.
    ATutor theme name - ATutor Default 2.2 default/
    PHP version - 5.4.41
    MySQL version - 5.5.42-cll
    Webserver & version - Apache Ver??
    Copies of error messages - SMTP -> ERROR: Failed to connect to server: Network is unreachable (101)
    Changes to default settings - NO
    Web browser being used - Firefox, Chrome, Yandex,
    ...and anything else relevant -

  • 2015-10-05 17:48:44

    Re: SMTP -> ERROR: Failed to connect to server: Network is unreachable (101)

    Have you seen the FAQs?
    http://www.atutor.ca/atutor/docs/faq.php#1

  • 2015-10-11 07:40:59

    Re: SMTP -> ERROR: Failed to connect to server: Network is unreachable (101)

    Hello there;
    I read the description on the page. There are no details on the configuration of the SMTP mail service. Hosting services are bought on a Linux server.
    Server: mail.myhosting.co port 587 as.
    The information necessary for SMTP configuration where you can provide information about how to do?
    SMTP information which we need to fix the file.
    We made a few changes in the above example file. After that came the subject of the message screen. SMTP authentication message shows the security error. class.phpmailer.php file in the SSL / TLS setting to no.
    Thank you for your help and support.

  • 2015-10-11 09:25:58

    Re: SMTP -> ERROR: Failed to connect to server: Network is unreachable (101)

    Best to talk to your system administrator about this.

    If mail is working on the server, ATutor mail will work out of the box. Configuring mail servers is beyond the help we can provide.

  • 2015-10-18 07:25:27

    Re: SMTP -> ERROR: Failed to connect to server: Network is unreachable (101)

    Mr. Greek
    I asked questions about the sending SMTP mail.
    I use my settings and I am sending solution.
    I'm now working on my system, it can send SMTP mail.
    It can help other users.
    For the next major update; I implore you,
    1. phpMail should be made to the current class file.
    2. atutormailer.class.php or use e-mail settings from within another file.
    3. In config.inc.php mail settings can also be added.
    Thank you for your help and support.
    ****************************************************
    My files ADDING and CHANGE SETTINGS
    /include/classes/phpmailer/atutormailer.class.php

    function ATutorMailer() {
    if (MAIL_USE_SMTP) {
    $this->SMTPDebug = 0; // Enable verbose debug output
    $this->IsSMTP(); // set mailer to use SMTP
    $this->Host = 'mail.XYZDOMAIN.com'; // Specify main and backup SMTP servers
    // $this->Host = ini_get('SMTP'); // Atutor Default VALUES Read php.ini file
    $this->SMTPAuth = true; // turn on SMTP authentication C&C TRUE Default False
    $this->Username = 'mailadress@XYZDOMAIN.com'; // SMTP username
    $this->Password = 'MyPassword'; // SMTP password
    $this->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted
    $this->Port = 587; // TCP port to connect to
    } else {
    $this->IsSendmail(); // use sendmail
    $this->Sendmail = ini_get('sendmail_path');
    $this->SMTPAuth = false; // C&C Default false
    }
    $this->IsHTML(false);
    // send the email in the current encoding:
    global $myLang;
    $this->CharSet = $myLang->getCharacterSet();
    }