• Subject: Outlook closes before Sending
  • Author: Matthew Nicoll
  • Date: 09 Oct 2009
  • References:
MS Office 2007. From Access VBA I open an outlook message:

Dim ObjOL As New Outlook.Application, objMail As mailitem
Set objMail = ObjOL.CreateItem(olMailItem)
'--- then I set objmail.to, subject and body.
objMail.Display

This opens the new message in Outlook window, I check the message,
then click Send.
If Outlook was already open, the message goes into the Outbox for a
second or two, then it get sent.
If Outlook was NOT open, the message goes into the Outbox and does
NOT get sent !

In Outlook options I've got selected:
"Send immediately when connected"
"Perofrm an automatic sned/receive when exiting"

How can I pursuade Outlook to send the message before closing ?

(Outlook is not my usual mail program, so I don't leave it open.)
09 Oct 2009Outlook closes before Sending.Matthew Nicoll
09 Oct 2009\ Re: Outlook closes before Sending.Ken Slovak - [MVP - O...
Contact Us
All times are in (US) Eastern Daylight Time (GMT -4:00)