That's normal and the items won't be sent until Outlook is opened again. The only exception would be to do a Send/Receive or be connected to an Exchange mailbox.
Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm
"Matthew Nicoll" <menicoll@mars.ark.com> wrote in message news:4acf7477.6189921@news.telus.net...
> 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)