Support Forums
ATutor Support
Email Problem ATutor 1.5.3
You must be signed-in to post.
| Author | Subject | |
|---|---|---|
| Page: 1 | 2 | ||
| MSchoen | Subject: Email Problem ATutor 1.5.3 | |
| Hello, I am looking here in the forum any days. But i can not find help for my problem. I use ATutor 1.5.3 in a fresh installation and database. It is unabble to send any email in my installation. There is an Error-Message: "There was an error sending the email message." The follow setting at my Webserver, is this the problem? post_max_size 5M Sorry for my bad English, i hope, you can help me ... operating system -Linux dd7206 2.6.16.12 ServerAPI - Apache PHP - 4.4.1 MySQL - 4.0.25 SMTP Server is working correctly version of ATutor - 3.5 Error - "There was an error sending the email message." Posted: 2006-07-10 09:37:26 | ||
greg![]() | Subject: Re: Email Problem ATutor 1.5.3 | |
| You may need to either install, or configure Sendmail. post_max_size should not be a problem Posted: 2006-07-10 10:21:22 | ||
| MSchoen | Subject: Re: Email Problem ATutor 1.5.3 | |
| Hello greg, thank you for your answer. But now i change in the config.inc.php this entry to TRUE. define('MAIL_USE_SMTP', TRUE); And now the Mail works fine. Thank you Posted: 2006-07-11 03:18:35 | ||
| allbhatias2 | Subject: Re: Email Problem ATutor 1.5.3 | |
| hi i am facing the same problem but i use windows 2003 server so can u tell me what should i alter in the config.inc.php file Posted: 2006-08-19 01:03:23 | ||
greg![]() | Subject: Re: Email Problem ATutor 1.5.3 | |
| First define an SMTP server in php.ini Posted: 2006-08-21 09:19:51 | ||
| jsahiri | Subject: Re: Email Problem ATutor 1.5.3 | |
| Does one need to define a valid smtp e.g. smtp.mail.gmail.com if the exchange of messages is between members of a local atutor installation. I am thinking here about an institution that doesn't have a mail server and is using atutor in a local area network. It should not be necessary to exchange messages between members or atutors going through an outside smtp mail server. Also, since in this scenario, students might have email addresses from a diverse collection of free webmail, each time a student would want to send a message to the instructor, there would be problems since it cannot be expected that the php.ini includes smtp mail server info for all students. Checked the config file and smtp is set to true. Would entering email address in the form of username@localhost solve the problem? Having to install send mail for the sake of exchanging messages among students and instructors on the same network doesn't make sense. Unless sendmail is already integrated in the atutor package. If so, which file to configure for that and how? Posted: 2006-12-07 11:01:30 | ||
| jsahiri | Subject: Re: Email Problem ATutor 1.5.3 | |
| btw, here is what I see in the php.ini: [mail function] ; For Win32 only. SMTP = localhost ; For Win32 only. sendmail_from = me@localhost.com Thus, should we change the email address of users to username@localhost when registering? Posted: 2006-12-07 11:03:04 | ||
| jsahiri | Subject: Re: Email Problem ATutor 1.5.3 | |
| Ibtw, edited a user account and changed the email address to username@localhost and got: invalid email address (presumably because it is missing the .extension (net. org, com...) Posted: 2006-12-07 11:16:06 | ||
jotalink![]() | Subject: Re: Email Problem ATutor 1.5.3 | |
| (sorry 4 my english) operating system - IIS version of ATutor - 1.5.3 Hi, I've been working on Atutor and I agree when people say that it's defenitly faster and easier than moodle. I have a little problem now, people receive email in the intranet but not to other accounts like gmail, yahoo or hotmail. I get this message "there was an error sending the message", I will test changing the MAIL_USE_SMTP to TRUE, but what i Want to know it is necesary to specify a real smpt server, in that case, where or in what file should I configure that smtp server. I appreciate your answer, Thank you very much for your help Posted: 2007-03-06 11:19:25 | ||
mapanqueva![]() | Subject: Re: Email Problem ATutor 1.5.3 | |
| inbox does not load mensages not sends user and instructor Things to describe: operating system - Linux version of ATutor - 1.5.3.3 versions of php - 4.4.1 version of mysq l - 4.1.21 webserver & version - apache copies of error messages - changes to default settings - yes web browser being used - IE and anything else relevant - Posted: 2007-03-07 18:33:38 | ||
ipool![]() | Subject: Re: Email Problem ATutor 1.5.3 | |
| To solve the problem with the inbox there is already a posting: www.atutor.ca/view/7/9539/1.html But this has nothing to do with sendmail and/or SMTP I hade the same and I hade to do two things: edit your database (probably using phpMyAdmin) and rename the "date_send" field in the "messages" table to "date_sent" (chante the "d" to a "t"). Edit: /html/tutor/inbox/index.php On link 109 add an at sign ( @ ) before mysql_fetch_assoc eg <?php $row = @mysql_fetch_assoc($result) ?> Posted: 2007-03-08 01:17:47 | ||
mapanqueva![]() | Subject: Re: Email Problem ATutor 1.5.3 | |
| edit your database (probably using phpMyAdmin) and rename the "date_send" field in the "messages" table to "date_sent" (chante the "d" to a "t"). Edit: /html/tutor/inbox/index.php On link 109 add an at sign ( @ ) before mysql_fetch_assoc Make these changes but it does not show the listing of inbox does not send messages. Things to describe: operating system - Linux version of ATutor - 1.5.3.3 versions of php - 4.4.1 version of mysq l - 4.1.21 webserver & version - apache copies of error messages - changes to default settings - yes web browser being used - IE and anything else relevant - Posted: 2007-03-08 16:05:08 | ||
jotalink![]() | Subject: I already checked and the value was already set to TRUE | |
| 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. Technical support 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 Posted: 2007-03-08 16:32:59 | ||
greg![]() | Subject: Re: I already checked and the value was already set to TRUE | |
| The file you're looking for is here, but you should know what you are doing if you want to change it. websvn.atrc.utoronto.ca/websvn/wsvn/Atutor/trunk/docs/include/lib/enroll.inc.php On windows ATutor relies on an STMP server defined in php.ini. There isn't one defined in ATutor itself. All you should need to do once php.ini is set, is set MAIL_USE_SMTP to TRUE in include/config.inc.php But, feel free to hack the code however you like... you might also be interested in: websvn.atrc.utoronto.ca/websvn/wsvn/Atutor/trunk/docs/include/classes/phpmailer/#_trunk_docs_include_classes_phpmailer_ We'd be interested to hear about your experience using ATutor with IIS, if you wanted to add a few paragraphs to the wiki. wiki.atutor.ca/display/atutorwiki/ATutor+Wiki
Posted: 2007-03-08 17:19:20 | ||
jotalink![]() | Subject: Re: I already checked and the value was already set to TRUE | |
| operating system - ISS version of ATutor - 1533 versions of php - 4 Greg, thank you very much for your answer, as I told you, atutor over ISS has been working properly, its fast and reliable, the only thing I havent been able to configure is the sendmail function due to I dont have access to the php.ini file of my webhosting service. All I need to do (I think) is to find the key file where I can specify my smtp server, I thought it would be possible editing the phpmailer configuration, the thing is that I dont know which file or which parameters should I change in phpmailer. Config.inc.php value is already set to TRUE. We appreciate the help given. Kind regards, Centro Colombo Americano Colombia Posted: 2007-03-09 17:51:12 | ||
| Page: 1 | 2 | ||
You must be signed-in to post.






