Page 1 of 1

Emails not beign recieved

Posted: Fri Mar 06, 2009 9:40 am
by reverentcreature
Hi there,

Im having problems getting Hesk to send out emails. Ive looked throguh similar issues other people have had on here and Ive also trawled the Internet for ideas.

The Hesk system seems to be set up okay. All the features are working. My friend set it up for me. I checked the PHP.ini file and the
[Mail function] heading says
SMTP = smtp.medway.org.uk (ive also tried mail.medway.org.uk)
SMTP_PORT = 25
Is there anytihng in Hesk I need to configure to get this to work. My support provider cant find any security software blocking this and Im assured the Internet connection will allow it. We dont have a mail server.

I have noticed that there is a long delay when clicking the submit button for a ticket or a ticket reply. Ive also noticed that telnet mail.medway.org.uk 25 brings back an error. Could not open connection to the host. Can I be 100% sure its the ISP or server settings at fault?

Many thanks for any advice on this :?

Posted: Fri Mar 06, 2009 5:03 pm
by Klemen
There's nothing special to set in Hesk (it uses the standard mail() function), your PHP mail configuration isn't working correctly. The
I have noticed that there is a long delay when clicking the submit button for a ticket or a ticket reply
just proves that PHP has problems accessing your mail server (unable to send mail).

This is something you need to set and correct on your server and once you can get a simple script like this to work Hesk should work fine as well:

Code: Select all

<?php
mail('you@yourmail.com','Test subject','Test message');
echo "Mail sent";
?>

You didn't post the phpinfo file so I don't know whether you are on a Windows or Linux server, but if you are on Linux you might try using Sendmail for PHP instead.

Posted: Mon Mar 09, 2009 11:14 am
by reverentcreature
Thank you for advising that the system should be okay and that the issue is more likely to like with our ISP.

I will investigate further and report back any findings. Thanks

Jason

Posted: Tue Mar 10, 2009 7:58 am
by vegas65
The sample script works fine, but the system does not send any e-mail from the helpdesk software.

Any ideas?

http://kia.testburken.com/phpinfo.php
http://kia.testburken.com/session_test.php

Posted: Tue Mar 10, 2009 1:10 pm
by YankeePicker
One thing that happened to me at the start was that I set the email address in HESK to an address that did not exist. My mail server was dropping email from HESK for that reason. Once i changed the address to a valid address, it worked like a charm. Might be worth a try?

Posted: Tue Mar 10, 2009 1:30 pm
by vegas65
YankeePicker wrote:Caution: YankeePicker may appear smarter than he really is. Advice not to be taken internally.
So it seems :D

Posted: Thu Mar 12, 2009 8:35 am
by reverentcreature
Thanks for your help. I have tried with a different address and checked the address I am using is a valid one.

I foudn out yesterday that there were a couple of unused IP addresses associated with the LAN Connection on the server. When I removed these there was no longer a long delay after clicking Submit or Reply in Hesk.

Im still not getting emails though. And Neither of my support companies can find anything wrong! :(

Posted: Thu Mar 12, 2009 5:52 pm
by Klemen
If the sample e-mail script (above) works fine and you use the same e-mail address in Hesk and still doesn't work I can only think of an anti-spam filter that is blocking it.

Posted: Fri Mar 20, 2009 11:19 am
by reverentcreature
Thanks for your help. The issue is now resolved. My provider wont say what they did their end. I can only assume they have unblocked something.