Jump to ContentJump to Navigation/Login
` ` ` ` ` `

[Register]

Occasional ATutor release updates


No Members Logged In

(9 guests in past 15 min.)

Access Understanding Web Accessibility to learn about accessibility, or Register to take the course for FREE.

Support Forums

ATutor Support

error sending mail


You must be signed-in to post.

AuthorSubject
  Page: 1
pemase
Subject: error sending mailQuote this post in your reply
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
Posted: 2003-11-27 12:45:36
greg

Avatar for greg
Subject: Have you defined an admin emailQuote this post in your reply
Is the admin email defined in config.inc.php?

Are other mail features working in ATutor. Such as enrollment approval?
Posted: 2003-11-27 16:25:54
pemase
Subject: yes! it isQuote this post in your reply
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').': atutor.ca';

$body .= $atutor_sig;

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

?>
Posted: 2003-11-27 16:39:06
greg
Subject: Try the other mail functionsQuote this post in your reply
Answer the second question?
Posted: 2003-11-27 16:58:57
pemase
Subject: second questionQuote this post in your reply
it is the only part that sends mail, its my first time that i use send mail with php
Posted: 2003-11-28 10:23:56
greg

Avatar for greg
Subject: Test other mail functionsQuote this post in your reply
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
Posted: 2003-11-28 10:56:20
pemase
Subject: post castQuote this post in your reply
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
Posted: 2003-11-28 13:16:25
 Page: 1

You must be signed-in to post.