Emails not beign recieved

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
reverentcreature
Posts: 4
Joined: Fri Mar 06, 2009 9:24 am

Emails not beign recieved

Post 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 :?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
reverentcreature
Posts: 4
Joined: Fri Mar 06, 2009 9:24 am

Post 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
vegas65
Posts: 2
Joined: Tue Mar 10, 2009 7:56 am

Post 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
YankeePicker
Posts: 16
Joined: Fri Mar 06, 2009 4:48 pm

Post 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?
[color=red]Caution:[/color] YankeePicker may appear smarter than he really is. Advice not to be taken internally. Ask your Doctor if YankeePicker is right for you.
vegas65
Posts: 2
Joined: Tue Mar 10, 2009 7:56 am

Post by vegas65 »

YankeePicker wrote:Caution: YankeePicker may appear smarter than he really is. Advice not to be taken internally.
So it seems :D
reverentcreature
Posts: 4
Joined: Fri Mar 06, 2009 9:24 am

Post 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! :(
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
reverentcreature
Posts: 4
Joined: Fri Mar 06, 2009 9:24 am

Post 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.
Post Reply