> You can cancel the send, set up a timer that fires after the Send event
> finishes and let the timer handler close the item. If you send it then it
> should close automatically after it's sent.
>
> --
> Ken Slovak
> [MVP - Outlook]
>
http://www.slovaktech.com> Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
> Reminder Manager, Extended Reminders, Attachment Options
>
http://www.slovaktech.com/products.htm>
>
> "Steffen Heinzl" <steffen.heinzl[ at ]informatik.fh-fulda.de> wrote in message
> news:eonv73$lld$1[ at ]surz18.uni-marburg.de...
> > Steffen Heinzl wrote:
> >> Hi!
> >>
> >> If I create a new mail object with my Outlook Application, is it possible
> >> to close the gui element representing the mail programmatically?
> >> I want to abort sending the mail and close the mask.
> >>
> >> Best Regards,
> >> Steffen
> >
> > Perhaps more specifically:
> >
> > In my send handler I have a reference to an inspector and my created mail.
> > I can call close on my mail, but I get an exception that my mail cannot be
> > closed during Send. So is there a workaround or does anyone know if there
> > is something like an "after send" event?