Ok, so I was thinking (which is always a very dangerous thing!) – after my last post on how you can programmatically count Mailboxes per Exchange Database – I was wondering how you can programmatically get a list of all Exchange Mailbox Databases in Active Directory via their distinguishedName. Why was I thinking this? – […]
Category: .NET C#
.Net programming samples in C#.
Programmatically counting mailboxes in Mailbox Databases using C#…
Ok, I know that the above is pretty easy using Powershell. In fact it is possible to also implement this using Automation Runspaces (again executing Powershell cmdlets from within the C# project) to achieve the same thing. But for a program that I am writing at the moment I needed to take a slight different […]
Quick Tip – Programmatically Returning all Distribution Groups in AD within a C# project…
I am working on a new application at the moment which requires for all Distribution Groups within an Exchange 2010 environment to be populated into a Drop Down list on the default ASP.NET page, and then based upon the selected Distribution group place the SMTP addresses of each member of that group into a list […]
Quick Tip: Sending e-Mail to a Distribution list via C# in Exchange 2007 / 2010…
I have been doing quite a bit of work with C# recently working on the new version of the OOOCTA tool. One of the features within the OOOCTA is for members of an Exchange distribution list to receive an e-mail when the OOF has been set on a particular mailbox. Now the most practical way […]
Quick Tip – C# Getting the DNS FQDN of your Active Directory Domain…
Slightly off topic this one, but along the same line as my post here (about getting your Exchange Organization name using C''#) – this was something that has been driving me crazy. In essence I have been rewriting (for what now seems forever) my Exchange 2007 Segregation tool in C# using Visual Studio. One of […]
Quick Tip – Getting the name of your Exchange Organization using Visual Studio C#…
Not a long post this time, but something that I wanted to share with you all. A number of you will know that, although I would not pretend to be a professional programmer (by any stretch of the imagination) – I do like to dabble. Over this weekend I have been looking at the Exchange […]