I had the opportunity to write a quick script to query Active Directory for accounts that were forwarded and store those forwarded email addresses in a MySQL database to run a couple of reports against. This was pretty fun for me. I’ve attached the C# source code. I used the MySQL db driver located here.
| Attachment | Size |
|---|---|
| emailForwardingStats.txt | 9.01 KB |
