Page 1 of 1

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

Posted: Sun Aug 03, 2008 10:17 pm
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.

Posted: Fri Aug 08, 2008 5:59 pm
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.

Posted: Fri Aug 08, 2008 8:05 pm
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!

Solved

Posted: Sat Aug 23, 2008 9:06 pm
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!

Posted: Sun Aug 24, 2008 9:40 am
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.