![]() |
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 want to create an Outlook MailItem and save it in a non-editable format. I
tried using Outlook Object Modal in VB.NET(app.CreateItem(Outlook.OlItemType.olMailIte m)) but it creates a draft and i m not able to change it to a non-editable mail like a received /sent item. Then i tried an extended mapi sample as well written in VC++.NET but i am still not able to figure it out as to what is the parameter that i have to change to make the mail non-editable. NOTE: I just want to save the mail and not sending it to anybody. |
Ads |
#2
|
|||
|
|||
![]()
Any email is editable. Even a received email can be edited, just select
Edit, Edit Message. If you want to simulate a sent message you either have to use Extended MAPI or Redemption (www.dimastr.com/redemption). The way I do it in Redemption is to create a new mail item, mark it as sent and set various properties such as sent, sent on behalf of, received, etc. before saving the item for the first time. Once the item is saved at all it cannot be faked as a sent or received item. The process would be the same with Extended MAPI. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Sanjeev" wrote in message ... I want to create an Outlook MailItem and save it in a non-editable format. I tried using Outlook Object Modal in VB.NET(app.CreateItem(Outlook.OlItemType.olMailIte m)) but it creates a draft and i m not able to change it to a non-editable mail like a received /sent item. Then i tried an extended mapi sample as well written in VC++.NET but i am still not able to figure it out as to what is the parameter that i have to change to make the mail non-editable. NOTE: I just want to save the mail and not sending it to anybody. |
#3
|
|||
|
|||
![]()
I solved it................
The .NET sample i was trying tht day was actually involving multiple projects in the same solution n my changes to unsent flag weren't getting reflected in the test project within tht solution. BT later, i figured it out tht th .NET compiler was giving dll copying errors while individually compiling VC++ project dll(Extended MAPI) within tht sol. nd so i copied the dll manually to the expected location in the test project folder n it worked out.......... Though i still dnt know why tht dll copying error is coming bt i dnt need to know either right now, i ll figure it out later on in free time.............. "Ken Slovak - [MVP - Outlook]" wrote: Any email is editable. Even a received email can be edited, just select Edit, Edit Message. If you want to simulate a sent message you either have to use Extended MAPI or Redemption (www.dimastr.com/redemption). The way I do it in Redemption is to create a new mail item, mark it as sent and set various properties such as sent, sent on behalf of, received, etc. before saving the item for the first time. Once the item is saved at all it cannot be faked as a sent or received item. The process would be the same with Extended MAPI. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Sanjeev" wrote in message ... I want to create an Outlook MailItem and save it in a non-editable format. I tried using Outlook Object Modal in VB.NET(app.CreateItem(Outlook.OlItemType.olMailIte m)) but it creates a draft and i m not able to change it to a non-editable mail like a received /sent item. Then i tried an extended mapi sample as well written in VC++.NET but i am still not able to figure it out as to what is the parameter that i have to change to make the mail non-editable. NOTE: I just want to save the mail and not sending it to anybody. . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Draft folder has disappeared from Outlook 2007 | WG | Outlook - Installation | 1 | March 7th 09 05:11 PM |
Exchange - Outlook [Draft and Notes Folder] | Evan Camilleri | Outlook - General Queries | 4 | February 9th 09 09:18 PM |
Outlook 2003: Draft Folder - Save As | Kevin Roseler | Outlook - General Queries | 0 | July 10th 08 08:56 PM |
Outlook Express 6 - Draft Email Icons on Desktop - Unable to use in draft form | [email protected] | Outlook Express | 1 | October 13th 06 12:58 PM |
How can I create a MailItem that displays like a received MailItem ? | Clive | Outlook - Using Forms | 0 | February 27th 06 05:14 PM |