A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

New messages ending up in Inbox instead of Draft



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 5th 08, 11:55 PM posted to microsoft.public.outlook,microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default New messages ending up in Inbox instead of Draft

This is usually an indication that you never log to a profile:

Set objOutlook = CreateObject("Outlook.Application")
set NS = objOutlook.GetNamespace("MAPI")
NS.Logon
....

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"John" wrote in message
...
Hi

Outlook 2003 with Exchange 2003. I am using the below code from within
Access to send emails via outlook.

Set objOutlook = CreateObject("Outlook.Application")
Set objOutlookMsg = objOutlook.CreateItem(olMailItem)
With objOutlookMsg
.To = "
.Subject = "Subject Here"
.HTMLBody = "This is the body text..."
.Save
End With

The problem is that instead of messages being saved in Draft folder, they
are ending up saved in Inbox. What is the problem and how can I fix it?

Thanks

Regards



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New messages ending up in Inbox instead of Draft John Outlook - General Queries 2 March 5th 08 11:55 PM
Form saving messages in Draft instead of Sent items David Pelizzari Outlook - Using Forms 7 September 21st 07 06:32 PM
Review of code to send all draft messages ... M100C Outlook and VBA 2 September 13th 07 05:36 PM
Outlook Express 6 - Draft Email Icons on Desktop - Unable to use in draft form [email protected] Outlook Express 1 October 13th 06 11:58 AM
draft messages don't close when outlook closes [email protected] Outlook - General Queries 1 July 13th 06 04:57 AM


All times are GMT +1. The time now is 03:38 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.