Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2011-02-25
7
Medium Priority
?
185 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
[X]
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
  • 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 200 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

Mailbox Overload?
This article describes how to import Lotus Notes Contacts into Outlook 2016, 2013, 2010 and 2007 etc. with a few manual steps. You can easily export and migrate Lotus Notes contacts into Microsoft Outlook without having to use any third party tools.
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

704 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