Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2011-02-25
7
181 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Are you unable to connect or configure Hotmail email account in Microsoft Outlook 2010, 2007? Or Outlook.com emails are not downloading to Outlook? Lets’ see the problem and resolve Outlook Connector error syncing folder hierarchy (0x8004102A).
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

808 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