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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Message queued in drafts and not outbox



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old May 31st 07, 05:01 PM posted to microsoft.public.outlook.program_addins
JahMic
external usenet poster
 
Posts: 35
Default Message queued in drafts and not outbox

I've seen this written about a bit, but mostly in regards to
redemption.

For the new mail window, I add my own button and button handler,
upon the button click, I do the following:
OOMMailItem.Save
modify some properties via ex-mapi.
MAPIMessage.SaveChanges w/ KEEP_OPEN_READWRITE
MAPIMessage.SubmitMessage
MAPI.FlushQueues

Inspector.close w/ olDiscard.

I gather, doing the submit before the inspector is actually closed,
isn't good, but I'm not sure how to get message otherwise, especially
since as new message it doesn't have an entry id. Any suggestions for
improvement there?

The main issue is that the message is queued in the drafts folder and
not the outbox, causing some annoyment. How can I get this to be
queued in the outbox? I have tried OOMMailItem.move, but that will
just will makes the a copy as the mapi handler doesn't seem to get
know about the change, and the submitted message still goes through
the drafts.

Any help, much appreciated. J

 




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
Message sent from "drafts" folder tcebob Outlook Express 5 February 3rd 07 09:26 AM
Message in Outbox Sasha Outlook - Calandaring 1 December 2nd 06 05:29 PM
outbox message maeve Outlook Express 7 June 5th 06 08:37 AM
Message gets re-queued when sending large attachments. APT SA Outlook - Installation 1 March 28th 06 12:17 AM
Printing a message in the Drafts folder Bob Fliegel Outlook Express 2 February 17th 06 02:16 AM


All times are GMT +1. The time now is 12:42 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.