Monday, August 23, 2004
Have you ever needed to clean out a big SMTP Queue just full of a load of like 5000+ messages, like NDR spam and such. Well I have had to do this plenty of times at different customers. Now that most of my customers now have exchange 2003 and recipient filtering (read about recipient filtering here http://blogs.msdn.com/dlemson/archive/2004/01/19/60388.aspx ) , I no longer have to worry about getting slammed with NDR spam. But there still may be some times where this tool will come in handy. There are plenty of exchange 2000 servers out there that will still get hit by NDR spam and this is a great tool to help you work through that issue.
download aqadmcli at
then run it and use these commands
Voila, your smtp queue is now clean. Now I hope you were able to sort out all the legit messages before you did that. :)
KC at http://weblogs.asp.net/kclemson told me about this in May 2004 but it has been around since I think early 2002 or late 2001. Anyway, it has many uses but cleaning out a full mail queue is all I have ever used it for. It saves many clicks, potentially hundreds or thousands of clicks if you are in a bad predicament.
Thursday, August 19, 2004
Print appointment with attendee status - Fix Bug in Outlook when printing another users calendar
Have you ever needed to open someone elses calendar and look at one of their appointments and then print it. Well, neither have I but one of my customers is a law firm and their paralegals print out lawyer appointments and put them in a file to give to their lawyers. So in outlook 2003, they open the lawyers shared personal calendar and open the appt in question and press the print button. The appointment that comes out is correct but instead of the Title at the top of the page being 'Joe Lawyer', the title is 'Nancy Paralegal' because Nancy is the person who actually initiated the print job I guess or the print template does a lookup of the current outlook user and uses that as a title.
That is dumb. Why not look at the organizer of the appt and make that name the title.
Anyway, this little bit of VBA macro code does just that. I have it working on outlook 2003. To bypass the security window, I use 'Express ClickYes' from contextmagic.com
This vba macro requires microsoft word.
Another benefit aside from fixing the 'WRONG USER IN TITLE BUG' is that this script also lists out all attendees and their response. This only applies to messages where multiple attendees have been invited.
I think this is a fixup of one of Sue Mosher's scripts by the way. Anyway, it is very nice.
I also added 3 lines of code to make this macro automatically print the document and close word when it is done.
My additions are