
Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
Yep, this is most likely the case. Also note that if you are using CDO 1.21,
it (unlike OOM) does not set the PR_SENTMAIL_ENTRYID property until you call
Message.Send. OOM sets it when a message is created
You can set PR_SENTMAIL_ENTRYID using something like the following:
PR_SENTMAIL_ENTRYID = &HE0A0102
Set oCDOMessage = oCDOSession.Outbox.Messages.Add
oCDOMessage.Fields.Add PR_SENTMAIL_ENTRYID, _
oCDOSession.GetDefaultFolder(CdoDefaultFolderSentItems).ID
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
> Does your application set the MailItem.SaveSentMessageFolder? A lot of those
> symptoms would occur when that folder is set incorrectly.
[quoted text clipped - 25 lines]
> > Joe Pacelli
> > joe.pacelli@misyshealthcare.com
Joe Pacelli - 19 Nov 2004 16:47 GMT
This worked fine for getting the Message to the 'SENT' folder but my
'To:' field is missing any emails that have a @ in them
For example; When the message is composed I enter
joep; joepacelli@earthlink.net
as the 2 emails to send the message to but in the 'SENT' folder the
email on shows the joep in the 'To:' field.
I've used Outlook spy and went to Imessage>GetRecipientsList and it
shows in there. But the PR_TRANSMITABLE_DISPLAY_NAME is blank.
Joe Pacelli
joe.pacelli@misyshealthcare.com
> Yep, this is most likely the case. Also note that if you are using CDO 1.21,
> it (unlike OOM) does not set the PR_SENTMAIL_ENTRYID property until you call
[quoted text clipped - 45 lines]
> > > Joe Pacelli
> > > joe.pacelli@misyshealthcare.com
Dmitry Streblechenko \(MVP\) - 19 Nov 2004 17:16 GMT
How do you add and resolve the recipients?
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
> This worked fine for getting the Message to the 'SENT' folder but my
> 'To:' field is missing any emails that have a @ in them
[quoted text clipped - 58 lines]
> > > > Joe Pacelli
> > > > joe.pacelli@misyshealthcare.com