What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Email processing

Votes:

0

Hi,

I'd like to check if emails in an specific inbox have been read/processed. We have an automated invoicing system which picks up incoming emails, process and moves them afterwards into a folder called "processed". My idea was to check if any new emails are in the inbox and they should never be older than 10 minutes as the system should open and move them anyways. I've seen there is an IMAP option to check emails but we no not allow IMAP/pop3 in our environment. Is there another way how to check if new emails have been opened?

kind regards, Fabian

email-sensor imap office365

Created on Jan 21, 2019 12:58:33 PM



2 Replies

Votes:

4

Assuming you have Exchange you could try to find a PowerShell command - e.g. Get-MailboxStatistics to get what you want. Try it first on a PowerShell with a user that has sufficient rights on the target mailbox as well.

You should have two possible options:

  • get the current count of the folder INBOX
  • get the mails from the folder INBOX and cycle through them

The second options sure needs more rights to the mailbox and will take more time to process, but it would be more accurate.

Here are a few links for you:

Once you have the information, you can process it and reply to PRTG e.g. the time-difference of the oldest entry in minutes (your limit e.g. would be 20 minutes to include some slack), the amount of emails in the folders etc...

This would be an advanced EXE sensor - there are several examples on how to give PRTG the information... - here the official link: https://www.paessler.com/manuals/prtg/exe_script_advanced_sensor

Regards

Florian Rossmark

www.it-admins.com

Created on Jan 21, 2019 2:43:19 PM



Votes:

0

Thanks, Flo :)


PRTG Scheduler | PRTGapi | Feature Requests | WMI Issues | SNMP Issues

Kind regards,
Stephan Linke, Tech Support Team

Created on Jan 21, 2019 10:02:34 PM by  Stephan Linke [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.