![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I create mail items using MAPI. It works fine in OL XP/2003.
But when I try to set some properties in OL 2007 I have MAPI_E_NO_ACCESS error: hr = spMsg-SetProps(sizeof(props) / sizeof(props[0]), (LPSPropValue)&props, NULL); // hr == MAPI_E_NO_ACCESS. After that I see created mail item in given folder but only the recipient property is filled. So, how can I fill other message properties in OL 2007 using MAPI ? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2007 on Windows Vista - can't programatically create a MAPI profile | Stuart Bray | Outlook and VBA | 8 | February 21st 07 09:37 PM |
Adding a header item with MAPI | Tom at GSD | Add-ins for Outlook | 9 | January 8th 07 06:54 PM |
Item.Save and Item.Close Script causes Outlook 2007 to Crash | Rayyan | Outlook - Using Forms | 6 | November 25th 06 03:14 AM |
How can I create a outlook appointment item from data in a e-mail? | StoltHD | Outlook and VBA | 6 | June 17th 06 08:00 AM |
How can I create a outlook appointment item from data in a e-mail? | Eric Legault [MVP - Outlook] | Outlook and VBA | 0 | June 15th 06 06:23 PM |