Jump to content

E-mails Waiting/New E-mails Count Widget


Recommended Posts

@dwalby - ok. First, we need to find out the folder ID for the "inbox". When you navigate to Inbox in the email view, have a look at the URL in the address bar. In there it should be something like "folder= <number>". We need that number.

Once we have the number then a widget to count emails in Inbox should be quite simple. Have the widget configured to use a custom SQL and the query would be:

SELECT COUNT(*) AS "Your Desired Column Name" FROM h_msg_messages WHERE h_folder_id = <number>


  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...