I am always amazed at how much mail we generate and go through at Microsoft. Lately I was asked to create and send mail on how much mail the ALM MVPs generate (pretty certain the irony of this request was lost on the person requesting it).
But in either case like a good little worker bee I finally imported our ALM MVP discussion list into Outlook took a look at our stats (and sent the email requested). As part of this exercise I did write a little code in Visual Studio 2012 to automate this task going forward.
Imports Microsoft.Office.Interop
Private Sub Main()
Dim objOutlook As New Outlook.Application Dim objnSpace As Object = objOutlook.GetNamespace("MAPI") objnSpace = objOutlook.GetNamespace("MAPI") objnSpace.Logon() Dim olkFld As Outlook.Folder = objOutlook.Session.Folders(1) 'Root Dim olkFld1 As Outlook.Folder = olkFld.Folders(2) 'INBOX ' Dim unreadItems As Outlook.Items = olkFld1.Items My.Computer.FileSystem.WriteAllText("TheFile.txt", vbCrLf, False) 'clean out the file My.Computer.FileSystem.WriteAllText("TheFile.txt", olkFld1.FolderPath, True) My.Computer.FileSystem.WriteAllText("TheFile.txt", vbCrLf, True) For Each objMessage In olkFld1.Items
Dim objOutlook As New Outlook.Application
Dim objnSpace As Object = objOutlook.GetNamespace("MAPI")
objnSpace = objOutlook.GetNamespace("MAPI")
objnSpace.Logon()
Dim olkFld As Outlook.Folder = objOutlook.Session.Folders(1) 'Root
Dim olkFld1 As Outlook.Folder = olkFld.Folders(2) 'INBOX
' Dim unreadItems As Outlook.Items = olkFld1.Items
My.Computer.FileSystem.WriteAllText("TheFile.txt", vbCrLf, False) 'clean out the file
My.Computer.FileSystem.WriteAllText("TheFile.txt", olkFld1.FolderPath, True)
My.Computer.FileSystem.WriteAllText("TheFile.txt", vbCrLf, True)
For Each objMessage In olkFld1.Items
'My.Computer.FileSystem.WriteAllText("TheFile.txt", objmessage.Sender.Address, True) 'My.Computer.FileSystem.WriteAllText("TheFile.txt", vbTab, True) My.Computer.FileSystem.WriteAllText("TheFile.txt", objMessage.ConversationTopic, True) My.Computer.FileSystem.WriteAllText("TheFile.txt", vbCrLf, True)
'My.Computer.FileSystem.WriteAllText("TheFile.txt", objmessage.Sender.Address, True)
'My.Computer.FileSystem.WriteAllText("TheFile.txt", vbTab, True)
My.Computer.FileSystem.WriteAllText("TheFile.txt", objMessage.ConversationTopic, True)
Next objMessage
End Sub
Net net is the ~100 ALM MVPs generate over 1,000 messages a MONTH!
Update 5/17/2013 we are now up to 22,024
Top Posters in the last 5 months
Topics by popularity
Breakdown
While Neno and Tiago are MVPs they are also our TS in their regions (as a vendor)…not certain they shouldn’t be counted in both categories!