![]() |
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 reply previously saved message.
I open a message from *.msg file using obj = CreateItemFromTemplate(Filename); obj.Display; There is no reply button available when the message pops up. I try to generate reply message using obj = CreateItemFromTemplate(Filename); repl = obj.Reply; repl.Display; But this line repl = obj.Reply; generates error message "Could not send the message" What am I doing wrong? Thank you, Misha. |
#2
|
|||
|
|||
![]()
When you create a message that way it's created as a new message. That's why
you have a Send button but no Reply, ReplyAll or Forward buttons. CreateItemFromTemplate() always creates a new item. -- 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 "Misha" wrote in message ... I want to reply previously saved message. I open a message from *.msg file using obj = CreateItemFromTemplate(Filename); obj.Display; There is no reply button available when the message pops up. I try to generate reply message using obj = CreateItemFromTemplate(Filename); repl = obj.Reply; repl.Display; But this line repl = obj.Reply; generates error message "Could not send the message" What am I doing wrong? Thank you, Misha. |
#3
|
|||
|
|||
![]()
Is there any way to replay previously saved message?
"Ken Slovak - [MVP - Outlook]" wrote: When you create a message that way it's created as a new message. That's why you have a Send button but no Reply, ReplyAll or Forward buttons. CreateItemFromTemplate() always creates a new item. -- 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 "Misha" wrote in message ... I want to reply previously saved message. I open a message from *.msg file using obj = CreateItemFromTemplate(Filename); obj.Display; There is no reply button available when the message pops up. I try to generate reply message using obj = CreateItemFromTemplate(Filename); repl = obj.Reply; repl.Display; But this line repl = obj.Reply; generates error message "Could not send the message" What am I doing wrong? Thank you, Misha. |
#4
|
|||
|
|||
![]()
Not using the Outlook object model. CreateItemFromTemplate works with msg
files but primarily is used wit oft custom form templates. It always creates the item as a new (unsent) item. There really isn't anything else that does what you want. The 3rd party Redemption library (www.dimastr.com/redemption) provides GetMessageFromMsgFile() methods that allow opening a saved item, among many other things. You can also do it using Extended MAPI (not supported for managed code, and C++ or Delphi only), just not with the Outlook object model. -- 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 "Misha" wrote in message ... Is there any way to replay previously saved message? |
#5
|
|||
|
|||
![]()
You don't have Outlook 2007, do you?
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Misha" wrote in message ... Is there any way to replay previously saved message? "Ken Slovak - [MVP - Outlook]" wrote: When you create a message that way it's created as a new message. That's why you have a Send button but no Reply, ReplyAll or Forward buttons. CreateItemFromTemplate() always creates a new item. -- 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 "Misha" wrote in message ... I want to reply previously saved message. I open a message from *.msg file using obj = CreateItemFromTemplate(Filename); obj.Display; There is no reply button available when the message pops up. I try to generate reply message using obj = CreateItemFromTemplate(Filename); repl = obj.Reply; repl.Display; But this line repl = obj.Reply; generates error message "Could not send the message" What am I doing wrong? Thank you, Misha. |
#6
|
|||
|
|||
![]()
Yes, I do.
"Sue Mosher [MVP-Outlook]" wrote: You don't have Outlook 2007, do you? -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Misha" wrote in message ... Is there any way to replay previously saved message? "Ken Slovak - [MVP - Outlook]" wrote: When you create a message that way it's created as a new message. That's why you have a Send button but no Reply, ReplyAll or Forward buttons. CreateItemFromTemplate() always creates a new item. -- 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 "Misha" wrote in message ... I want to reply previously saved message. I open a message from *.msg file using obj = CreateItemFromTemplate(Filename); obj.Display; There is no reply button available when the message pops up. I try to generate reply message using obj = CreateItemFromTemplate(Filename); repl = obj.Reply; repl.Display; But this line repl = obj.Reply; generates error message "Could not send the message" What am I doing wrong? Thank you, Misha. |
#7
|
|||
|
|||
![]()
Since you have Outlook 2007, you can import the .msg file using the Namespace.OpenSharedItem method. The resulting item should have its original sender information intact, so you can reply to it.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Misha" wrote in message ... Yes, I do. "Sue Mosher [MVP-Outlook]" wrote: You don't have Outlook 2007, do you? -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Misha" wrote in message ... Is there any way to replay previously saved message? "Ken Slovak - [MVP - Outlook]" wrote: When you create a message that way it's created as a new message. That's why you have a Send button but no Reply, ReplyAll or Forward buttons. CreateItemFromTemplate() always creates a new item. "Misha" wrote in message ... I want to reply previously saved message. I open a message from *.msg file using obj = CreateItemFromTemplate(Filename); obj.Display; There is no reply button available when the message pops up. I try to generate reply message using obj = CreateItemFromTemplate(Filename); repl = obj.Reply; repl.Display; But this line repl = obj.Reply; generates error message "Could not send the message" What am I doing wrong? Thank you, Misha. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Send A Reply Message Or Forward A Message Containing Stationary | R. B. Houser | Outlook - Installation | 1 | June 21st 07 07:10 AM |
How to customize the fields of the Reply message of a new message | Lotte | Outlook - Using Forms | 1 | November 17th 06 08:27 PM |
Get parent message (original) from the response created by Reply-All/Reply/Forward | Sanjay | Add-ins for Outlook | 3 | November 9th 06 06:02 PM |
Sent items are being saved in the folder that I reply from... | [email protected] | Outlook - General Queries | 2 | September 25th 06 08:34 PM |
Message disapears when I reply or forward a message | Duane Hubbard | Outlook - General Queries | 1 | February 8th 06 06:56 PM |