Application to check certian emails have arrived.

soze

I am a FH squatter
Joined
Jan 22, 2004
Messages
12,508
At my work we have a series of emails that come in every morning. It is about 300 of them. Normally about 299 of them will be fine with no issues to care about but we still have to go through them and check them off as not receiving the message is as bad having a failure message.

This never bothered me as it was not my job, but now it is. So I am looking for an application that I can point at a mail box and it will check off these messages for me and just give me a report if one of them dose not arrive.

Dose anyone know of something that can do this?
 

Bob007

Prince Among Men
Joined
Dec 22, 2003
Messages
585
Do you host the mail server in house ?
If so.
What mail server is it ?

With exchange you should be able to use powershell with the exchange snapin to run and check for mail that meets a set criteria, generate a list of criteria and email that to you.

You criteria could be not's. "is this email with this sibject from this date not there" So in theory, you should be able to get it to tell you what hasn't arrived.
 

soze

I am a FH squatter
Joined
Jan 22, 2004
Messages
12,508
Yeah it is a in house Exchange 2010 server but it is only in house for another month or so. So great idea for now but I ideally need something that can read a mailbox.
 

Bob007

Prince Among Men
Joined
Dec 22, 2003
Messages
585
Script Guys have an outlook search function in PS. You could use that then out-file it to a csv and do a compare on that.
Code:
Get-OutlookInBox function
Function Get-OutlookInBox
{
Add-type -assembly "Microsoft.Office.Interop.Outlook"
$olFolders = "Microsoft.Office.Interop.Outlook.olDefaultFolders" -as [type]
$outlook = new-object -comobject outlook.application
$namespace = $outlook.GetNameSpace("MAPI")
$folder = $namespace.getDefaultFolder($olFolders::olFolderInBox)
$mail = $folder.Items 
$mail | Select-Object -Property Subject, ReceivedTime, SenderName
}
$inbox = Get-OutlookInBox
$inbox | where-object { $_.Subject -Match "Eat My Shorts" } | Out-File "C:\EMailSubjects.txt"

They have more examples over at their site and a link in the comments to another one that does pretty much the same.

Put something togeather then ask one of the c# folks round here to convert it to an app for you. (must be some c# folks here)

I don't know of a program that will parse an inbox sorry.
 

Users who are viewing this thread

Top Bottom