Solved

Can a rule or notification be set for new email count in an inbox?

Posted on 2011-02-25
7
179 Views
Last Modified: 2013-02-12
We process faxes with our gateway which sends it to a mailbox.  From there our Cisco Unity server then processes those (every 2 minutes) to the intended designated mailbox.  Is there any way to set up an Exchange Outlook notification/rule/alert if new emails in that first inbox increase to a certain count (which for us, indicates a problem with the service that processes them)  That first mailbox usually doesn't have more than 10  emails in it at any 2 minute interval. Hope that made sense!
0
Comment
Question by:hammer101
  • 3
  • 2
7 Comments
 
LVL 15

Expert Comment

by:markdmac
ID: 34987158
Yes it is possible to run a VBScript to get the item count, however it will require access to an outlook profile to do it.  There might be a way to do it with PowerShell too, what version of Exchange are you using?
0
 

Author Comment

by:hammer101
ID: 34998641
Exchange 2007, but shortly (within a month or two) we are going to 2010
0
 
LVL 15

Expert Comment

by:markdmac
ID: 34999003
OK, I am currently bogged down with work stuff but this will be fun to work on later.  Will get back to you hopefully with a PowerShell script.
0
 
LVL 15

Accepted Solution

by:
markdmac earned 50 total points
ID: 35001160
Here you go.  You didn't say what you want it to do so this example will check the given mailbox and give a message if there are 10 or more messages in the mailbox.
$Count = Get-MailboxStatistics -Database DATABASENAME -Identity USERNAME 
If ($Count.ItemCount -ge 10){
$objShell = new-object -comobject wscript.shell
$Msg = $objShell.popup("The mailbox has 10 or more messages in it.")
}

Open in new window

0
 

Author Comment

by:hammer101
ID: 35001232
Hi Markdmac,

thanks for the script.  I have forwarded it on to our Exchange Admin, as this is out of my league.  I'll let you know what they say regarding it and get back to you.
thanks again.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Resolve DNS query failed errors for Exchange
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now