![]() |
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 need to programmatically display a mail item into a form similar to “sent”
item form (with Reply, ReplyAll and Forward buttons). My approach is: -cancel the Item_Open event, -create a new mail item using a published custom form which is based on a sent item. -display the new mail item. The problem is that my new item is displayed into a standard new mail form and I don’t know how to display this new item into a “sent” form. I have to use only Outlook 2003 and VBScript. Thank you in advance. |
Ads |
#2
|
|||
|
|||
![]()
The real solution is to create the item in the sent state.
See http://www.dimastr.com/redemption/faq.htm#8 for a workaround. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Pavel Rosoi" wrote in message ... I need to programmatically display a mail item into a form similar to "sent" item form (with Reply, ReplyAll and Forward buttons). My approach is: -cancel the Item_Open event, -create a new mail item using a published custom form which is based on a sent item. -display the new mail item. The problem is that my new item is displayed into a standard new mail form and I don't know how to display this new item into a "sent" form. I have to use only Outlook 2003 and VBScript. Thank you in advance. |
#3
|
|||
|
|||
![]()
Thank you. I have to have Redemption installed on all computers which run
Outlook forms with this code-behind? "Dmitry Streblechenko" wrote: The real solution is to create the item in the sent state. See http://www.dimastr.com/redemption/faq.htm#8 for a workaround. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Pavel Rosoi" wrote in message ... I need to programmatically display a mail item into a form similar to "sent" item form (with Reply, ReplyAll and Forward buttons). My approach is: -cancel the Item_Open event, -create a new mail item using a published custom form which is based on a sent item. -display the new mail item. The problem is that my new item is displayed into a standard new mail form and I don't know how to display this new item into a "sent" form. I have to use only Outlook 2003 and VBScript. Thank you in advance. |
#4
|
|||
|
|||
![]()
Yes.
You can use OOM alone to create a post item and then change its message class back to IPM.Note, but the icon won't be right. You can set PR_ICON_INDEX without Redemption using MailItem.PropertyAccessor in Outlook 2007. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Pavel Rosoi" wrote in message ... Thank you. I have to have Redemption installed on all computers which run Outlook forms with this code-behind? "Dmitry Streblechenko" wrote: The real solution is to create the item in the sent state. See http://www.dimastr.com/redemption/faq.htm#8 for a workaround. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Pavel Rosoi" wrote in message ... I need to programmatically display a mail item into a form similar to "sent" item form (with Reply, ReplyAll and Forward buttons). My approach is: -cancel the Item_Open event, -create a new mail item using a published custom form which is based on a sent item. -display the new mail item. The problem is that my new item is displayed into a standard new mail form and I don't know how to display this new item into a "sent" form. I have to use only Outlook 2003 and VBScript. Thank you in advance. |
#5
|
|||
|
|||
![]()
Thank you for answer. There is no way to do that without the deploying of
another library? "Dmitry Streblechenko" wrote: Yes. You can use OOM alone to create a post item and then change its message class back to IPM.Note, but the icon won't be right. You can set PR_ICON_INDEX without Redemption using MailItem.PropertyAccessor in Outlook 2007. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Pavel Rosoi" wrote in message ... Thank you. I have to have Redemption installed on all computers which run Outlook forms with this code-behind? "Dmitry Streblechenko" wrote: The real solution is to create the item in the sent state. See http://www.dimastr.com/redemption/faq.htm#8 for a workaround. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Pavel Rosoi" wrote in message ... I need to programmatically display a mail item into a form similar to "sent" item form (with Reply, ReplyAll and Forward buttons). My approach is: -cancel the Item_Open event, -create a new mail item using a published custom form which is based on a sent item. -display the new mail item. The problem is that my new item is displayed into a standard new mail form and I don't know how to display this new item into a "sent" form. I have to use only Outlook 2003 and VBScript. Thank you in advance. |
#6
|
|||
|
|||
![]()
As I mentioned before, not unless you are using Outlook 2007.
-- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Pavel Rosoi" wrote in message news ![]() Thank you for answer. There is no way to do that without the deploying of another library? "Dmitry Streblechenko" wrote: Yes. You can use OOM alone to create a post item and then change its message class back to IPM.Note, but the icon won't be right. You can set PR_ICON_INDEX without Redemption using MailItem.PropertyAccessor in Outlook 2007. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Pavel Rosoi" wrote in message ... Thank you. I have to have Redemption installed on all computers which run Outlook forms with this code-behind? "Dmitry Streblechenko" wrote: The real solution is to create the item in the sent state. See http://www.dimastr.com/redemption/faq.htm#8 for a workaround. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Pavel Rosoi" wrote in message ... I need to programmatically display a mail item into a form similar to "sent" item form (with Reply, ReplyAll and Forward buttons). My approach is: -cancel the Item_Open event, -create a new mail item using a published custom form which is based on a sent item. -display the new mail item. The problem is that my new item is displayed into a standard new form and I don't know how to display this new item into a "sent" form. I have to use only Outlook 2003 and VBScript. Thank you in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Making email item 'Read' programmatically | Dinesh Patil | Outlook and VBA | 1 | March 3rd 08 03:17 PM |
identify reply programmatically for mail item | BiangL | Outlook and VBA | 4 | October 28th 07 01:34 AM |
forward a mail item with form region | Nikolas | Outlook - Using Forms | 7 | December 1st 06 07:34 PM |
How can I programmatically display an email message saved in a msg file? | Clive | Outlook - Using Forms | 1 | November 29th 06 10:39 PM |
Sending custom form item as mail attachment to person outside org | DougMunday | Outlook - Using Forms | 4 | April 13th 06 09:02 PM |