A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Reply saved message



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 21st 07, 06:50 PM posted to microsoft.public.outlook.program_addins
misha
external usenet poster
 
Posts: 7
Default 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.



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




  #3  
Old December 21st 07, 08:27 PM posted to microsoft.public.outlook.program_addins
misha
external usenet poster
 
Posts: 7
Default 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.





  #4  
Old December 21st 07, 11:01 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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?


  #5  
Old December 22nd 07, 12:55 AM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default 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.





  #6  
Old December 24th 07, 10:12 PM posted to microsoft.public.outlook.program_addins
misha
external usenet poster
 
Posts: 7
Default 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.






  #7  
Old January 4th 08, 02:47 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default 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.






 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 12:59 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.