Page 1 of 1

Is your admin email not working?

Posted: Sun Feb 04, 2007 8:12 pm
by jmartinez
This is just an account of my experience; hopefully it will help someone else.

After smacking my head on the table trying to get the admin email to work, reading MULTIPLE posts, and checking and re-checking the code, and even sending test messages to myself. I paused a moment to carefully read everything about why my admin emails were not working according to Klemen. Here is what my issue was.

I was not asking the script to send an email to a "real" email address. What I mean is, I have one account I set up on my web host, it is a catch all account named sales@mydomain.com. I was asking the script to send the email to support@mydomain.com ( a fake account that my catch all account would, umm well catch.. ). So I took the time to create a new admin account, made sure that the email address was a "real" one ( sales@mydomain.com ), and flagged him for all the proper categories. After I did that I logged out and created a test support ticket and guess what, I started to get emails! Cool huh?!

Anyhow that is what worked for me, hope it helps you.

*Technical side note to Klemen
When logged in as an admin, when you go to edit the account, you can not edit the categories flagged for that account. You have to be in another admin account to do so. I don’t know if this was intentional but it’s a pain. Also after creating an admin account, or editing an admin account and flagging the categories, if you look in the mysql database you will still see the categories row of the hesk_users as blank. It appears as if your selected categories are not even going into the table. And of course when you edit an admin account that had categories flagged, the flagged categories don’t show as flagged, but that is because they are not being set in the table so it has nothing to show.

Josh

Posted: Mon Feb 05, 2007 7:46 pm
by Klemen
Hi,

The idea behind "administrators" is that they have access to ALL categories and features. Kind of the "big boss" features. That's why no categories are saved in the user table as they are allowed into any category.

The normal users (staff, your employees) can be limited to certain categories only and don't have access to some features (edit categories, users, ...).

Hope this clears up things a bit.

Posted: Tue Feb 06, 2007 12:53 am
by jmartinez
Ahhh, Very good then I understand. Also Klemen thanks for such a useful script!