ATutor

Learning Management Tools







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


error sending mail


  • 2003-11-27 12:45:36

    error sending mail

    I have this error when y trying to send mail with ATutor 1.3, can you help me?

    Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for instructor@instructor.com in D:\eLearning\lms\include\lib\atutor_mail.inc.php on line 19

  • 2003-11-27 16:25:54

    Have you defined an admin email

    Is the admin email defined in config.inc.php?

    Are other mail features working in ATutor. Such as enrollment approval?

  • 2003-11-27 16:39:06

    yes! it is

    Yes, i was configured an email in config.inc.php? and it is the only part that sends mail, i was installed ATutor 1 week ago, but never works this funtion, thanks for your help
    THIS IS THE ACTUAL CODE:
    <?php


    function atutor_mail($email,
    $subject,
    $body,
    $from,
    $bcc = '') {

    global $_base_href;
    global $_template;

    $atutor_sig = "\n\n".'----------------------------------------------'."\n";
    $atutor_sig .= _AT('sent_via_atutor', $_base_href);
    $atutor_sig .= "\n"._AT('atutor_home').': http://atutor.ca';

    $body .= $atutor_sig;

    mail($email, stripslashes($subject), stripslashes($body), 'From: '.$from."\n"."Reply-To:".$from."\nBcc: $bcc\nX-Mailer: PHP");
    }

    ?>

  • 2003-11-27 16:58:57

    Try the other mail functions

    Answer the second question?

  • 2003-11-28 10:23:56

    second question

    it is the only part that sends mail, its my first time that i use send mail with php

  • 2003-11-28 10:56:20

    Test other mail functions

    Test the other mail functions in ATutor, such as sending a course email, requesting an instructor account, and approving an instructor account.

    See the HowTo course if you need help using ATutor

  • 2003-11-28 13:16:25

    post cast

    Hi, i have the Post Cast for SMTP, this is the other message that appears


    In Course email:
    Warning: mail(): SMTP server response: 500 please set from & to first... in D:\Intranet HP\elearning\go\include\lib\atutor_mail.inc.php on line 29

    and in the an instructor account:

    Warning: mail(): SMTP server response: 500 please set from & to first... in D:\Intranet HP\elearning\go\include\lib\atutor_mail.inc.php on line 29

    Warning: Cannot modify header information - headers already sent by (output started at D:\Intranet HP\elearning\go\include\lib\atutor_mail.inc.php:29) in D:\Intranet HP\elearning\go\users\index.php on line 37