HESK not sending emails

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
mtwelve
Posts: 4
Joined: Wed Nov 04, 2009 10:34 am

HESK not sending emails

Post by mtwelve »

Script URL: Hosted Internally; No External Access
Version of script: 2.1

-----

Hi there,

First off a massive thanks to Klemen for such a feature rich piece of free software. Nice and simple to use and customise yet entirely appropriate in any enviroment.

Now for the problem.....

It revolves around getting HESK to send emails.

I know that HESK relies on the PHP mail() function and I have exhausted all avenues with troubleshooting that (list to follow).
I just wanted input from you guys as to whether I'm missing something either HESK or PHP side.
Before this I had little to no experience in competently setting up IIS, PHP and MySQL.


-----The Setup-----

We are in a Domain environement.
I full admin rights for the machine.
HESK is hosted on a Windows XP Professional machine running:

IIS - 5.1
PHP - 5.2+
MySql Server - 5.1

I have also tried running HESK on a complete server package: XXAMP and UniServer.

I have properly configured the php.ini file with our SMTP server address.


-----What I've Tried-----

I have tried using a 'fake sendmail' program to make the IIS server act more like a UNIX server. Details can be found here http://php.net/manual/en/ref.mail.php

I have tried using the alternative fake sendmail program bundled with UniServer. This is MSMTP - http://msmtp.sourceforge.net/

I have tried setting up php.ini to pass emails to the IIS Virtual SMTP Server so that I can relay them to our exchange servers.


None of these have ever resulted in any mail even being generated (no log files and no emails in the IIS folders).

I have heard nothing back from our Admins that monitor the Exchange Servers.


To make it that bit more confusing we have two other sites within the same domain running the software; at least one of which has the email function running. I belive they run version 0.94 if that helps at all.




The only thing I can think to do is try it outside of our Domain.....

Are there any problems with HESK + IIS + SMTP...?

Has anybody encountered any issues like this or know of anything I can try next...?



Oh and lastly.... Thanks for looking :D
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

To clarify, is just HESK causing problems or are you having problems sending mail from any PHP script (like the email test file from the troubleshooter: http://www.phpjunkyard.com/extras/email_test.zip )?
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
mtwelve
Posts: 4
Joined: Wed Nov 04, 2009 10:34 am

Post by mtwelve »

The email test script doesn't work either.

I wasn't sure if maybe it was PHP or IIS or something that another user had encountered.


Thanks
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

As I though, your PHP is not configured correctly to send mail. Unfortunately this is not something I can help with as it's not a script-related problem, but rather a PHP installation/configuration one (I would give tips but unfortunately I don't have experience in configuring PHP on IIS).
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
Raven
Posts: 172
Joined: Sat Jun 20, 2009 12:39 am

Post by Raven »

Hi, couldn't help but notice that you have the same problem (or at least it sounds like you do) that I initiallay had when I first setup my local host Apache web server - that being my ISP not allowing me to send email via php.... I got around this problem by running my own loacl SMTP server, namely ArGoSoft's Mail Server.

It is quite easy to setup and since using it I have not had any problems. I might be wrong and it may simply be an issue with your configuration but I just thought I'd share what worked for me ;)

Checking the manufacturers web site I now see they have an updated version to the one I'm using but it is still FREE to download and use - there is also a quickstart guide available too.

All of the above can be found here.

Hope you find this of some use.
Post Reply