Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-02-25
7
Medium Priority
?
186 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
5 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

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

Mailbox Overload?
In this article I discuss my selections of the Top Four free Outlook OST File Viewers available. Open, view and read even damaged OST files by using these tools. They all provide a clear preview of all data such as emails, notes, tasks, calendars, e…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

824 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