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.