ATutor

Learning Management Tools







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


there was an error sending the email message atutor 1533


  • 2007-03-08 16:39:26

    there was an error sending the email message atutor 1533

    Ok, atutor is running properly but the only thing I have to configure to start using the service is the email notification for the students who enroll a course. I keep receiving the "there was an error sending the email" message. The Technical support area of our webhosting suggested me to use phpmailer, based on what they told me all what I have to do is to locate the file that has the following code and make modifications where necesary:

    require("class.phpmailer.php");
    $mail = new PHPMailer();
    $mail->IsSMTP();
    $mail->Host = "MAIL.DOMAIN.COM";
    $mail->SMTPAuth = true;
    $mail->Username = "POP3ACCOUNT.NAME";
    $mail->Password = "POP3.PASSWORD";
    $mail->From = "POP3ACCOUNT.NAME ";
    //$mail->FromName = "Mailer";//optional from name
    $mail->AddAddress("RECIPIENT", "RECIPIENT'S NAME");
    //$mail->AddReplyTo(" sender@example.com", "Information");
    $mail->IsHTML(false); // set email format to HTML
    $mail->Subject = "SUBJECT";
    $mail->Body = "BODY";
    if(!$mail->Send()) {
    echo "<p>Message could not be sent. </p>";
    echo "<p>Mailer Error: " . $mail->ErrorInfo . "</p>";
    }

    The thing is that I've been searching in every file of the atutor instalation for a code like this but there is none of the files have this kind of code for me to make the required modifications. Is this the correct procedure or Im I doing it all wrong.

    Thanks for your help, this atutor installation is a gift I want to donate for a non-profit organization in Colombia www.colombopereira.com . I appreciate your collaboration. John J Villa