|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Open mail in olFolderSentMail with Extended MAPI or AutomationI need to handle mails (show or forward) in the sendmail folder using
the entryID of the message. Using GetNamespace('MAPI').GetItemFromID(EntryID,'')) dont seem to work on this folder. I have tried to specify the storeID of the olFolderSentMail, that wont work either. I got no problems when mails are in olFolderInbox. It must be possible, but how. Dmitry (or some one else) please help. Hi Thomas,
AFAIK for GetItemFromID it doesn´t matter, in which Folder the item is stored. If it is not in your default *.pst then you need the StoreID, too. -- Show quoteHide quoteViele Grüße Michael Bauer "Thomas Ingerslev" <t***@danmark-bygger.dk> wrote in message news:e5b20ef4.0412131449.40419e34@posting.google.com... > I need to handle mails (show or forward) in the sendmail folder using > the entryID of the message. > > Using GetNamespace('MAPI').GetItemFromID(EntryID,'')) dont seem to > work on this folder. > > I have tried to specify the storeID of the olFolderSentMail, that wont > work either. > > I got no problems when mails are in olFolderInbox. > > It must be possible, but how. > > Dmitry (or some one else) please help.
Other interesting topics
Can Outlook.Application be used to control open message windows?
Controlling Outlook from Word VBA - PROBLEM... Run time error 430 with late binding Outlook 2003 Win32 API Timer - crash SentOnBehalfOfName property does not take effect - Help! Trying to get to ContactItem from items on DistListItem (office xp) Background Process Outlook VBA - Need to grab SMTP address, not Contact Name Late Binding to Outlook from Excel: Outlook modifies email body how to retrieve message from an Inbox other than my primary one? |
|||||||||||||||||||||||