Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Reply saved message (http://www.outlookbanter.com/add-ins-outlook/63697-reply-saved-message.html)

misha December 21st 07 06:50 PM

Reply saved 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.




Ken Slovak - [MVP - Outlook] December 21st 07 07:22 PM

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.





misha December 21st 07 08:27 PM

Reply saved 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.






Ken Slovak - [MVP - Outlook] December 21st 07 11:01 PM

Reply saved message
 
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?



Sue Mosher [MVP-Outlook] December 22nd 07 12:55 AM

Reply saved message
 
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.






misha December 24th 07 10:12 PM

Reply saved 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.

--
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.







Sue Mosher [MVP-Outlook] January 4th 08 02:47 PM

Reply saved message
 
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.








All times are GMT +1. The time now is 09:13 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com