Manage applications (like Outlook) by sending keystrokes using SendKeys().

The keystroke "Alt-F4" will normally close an application, or you can navigate the menus.

You will have to deal with these things as well:
  • Open dialogues about unsaved messages / autoarchiving / calendar reminders
  • Timing - you don't want to close the application until the message has actually been sent
  • Your sent message will linger in the users sent items folder
  • Your users may get a little peeved if you keep closing Outlook while they are using it [Eek!]
Does your Exchange server have an SMTP service running?
If it does, save yourself an awful lot of aggravation and give blat a whirl. You can download it from the BLAT home page.