View Single Post
  #2  
Old December 21st 07, 07:22 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Reply saved message

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.




Ads