Page 1 of 1

Emails on Windows Server 2003 box

Posted: Wed Feb 22, 2006 4:21 am
by humpda
Script URL: NA
Version of script: .93.1
Version of PHP: 5
Hosting company: NA
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: PHP ini settings confuguration checks

Write your message below:
Hi
I am running Moodle on a Server 2003 box internally for student access. I have installed Moodle using XAMPP LITE (which includes PHP, MSQL, Apache). I have also successfully installed Hesk on this server and have no problems with staff members being able to submit jobs. I am, however, having problems with email. Email from Moodle has no problems being sent, but notifications from hesk are not sent either to Admin or the submitting person. I have made sure that the smtp server info is correct in the php ini file (it is the same one for moodle), and port 25 is not blocked (again it works for moodle). I have looked at the email topics in the forums, and read the posts, but am not sure how they apply to me. Any ideas would be greatly appreciated. Thanks

Posted: Thu Feb 23, 2006 1:50 pm
by Klemen
I'm not a server guy, all I can say is Hesk uses the standard PHP mail() function. If sending mail doesn't work something MUST be wrong or misconfigured there. Try saving the below code as test.php and see if it sends mail to you:

Code: Select all

<?php

error_reporting(E_ALL);

mail('you@youremail.com','Testing mail','Test message');

echo "Mail sent!";

?>
Change the e-mail address to the one you use for Hesk.

Regards