Cannot get email to staff working but email to user is ok

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
akash
Posts: 13
Joined: Sun Aug 03, 2008 10:10 pm

Cannot get email to staff working but email to user is ok

Post by akash »

Script URL: Local use only - sorry
Version of script: 0.94.1
Hosting company: Local webserver
URL of phpinfo.php: As above
URL of session_test.php: As above
What terms did you try when SEARCHING for a solution: email, staff, email not working, staff email not working (including e-mail, email etc)

Write your message below:

Hi,

I hope I don't get told off, shouted at or sent abuse for my question but I really have searched and mine's a bit of an odd one.

Email DOES work
Test email pages external to Hesk DOES work

In regards to Hesk, email to the owner of the ticket (the person who logged it) DOES get emails when a staff adds a reply to the ticket.

BUT, what won't work is when the owner of the ticket updates a ticket, none of the staff get the email.

I have checked that they are adminstrators and also a few users with ALL the categories selected.

I think I've covered the basics?

If there is a way to test out JUST the staff email maybe exporting to a text file or something - I don't mind.

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

Post by Klemen »

Not sure what's wrong, since it works for users this means your PHP is configured correctly and e-mail from staff uses the exact same code.

If you turn debug mode ON do you get any warnings or errors when submitting a ticket or replying to it as user or as staff?

If not I'd say ask your server administrator (if you have one) to check mail logs (and queue) for possible local PHP mail delivery problems.
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
akash
Posts: 13
Joined: Sun Aug 03, 2008 10:10 pm

Post by akash »

You make a good point about debug mode... I will try this tomorrow as I want to work on completion of the site tomorrow.

I am the "administrator" so to speak and I use an actual SMTP server though I don't see any queueing up emails there.

Will post back tomorrow - failing that, I might try and make an external firewall rule to let you access it (time permitting for you)
Thanks for your help so far!
akash
Posts: 13
Joined: Sun Aug 03, 2008 10:10 pm

Solved

Post by akash »

Fixed the issue this evening after working on it all day pretty much

But... Can't give you all the solution! I gave up half way and decided to start from scratch again - this time testing after every major change

Can't figure out why it would not work but it's all working now.

My only possible guess is that the "Administrator" account had a fake email address and so because it bounced on that, it bounced on the other valid ones. This time round however, I am using the Administrator account as my main account rather than an account only to be used if the main additional account got locked out.

Not an issue either way so thanks for the help!
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Glad you fixed it. I never really worked with ISS/SMTP myself so I'm not really good at debugging that, all the servers I manage are Linux with Sendmail.
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
Post Reply