View Single Post
  #3  
Old June 16th 09, 07:37 AM posted to microsoft.public.outlook.program_addins
Womble
external usenet poster
 
Posts: 4
Default OL2003 & VB6:- "Could not send the message"

Saving it first i.e. NewMail.Save makes no difference. I still get the same
error.

"Ken Slovak - [MVP - Outlook]" wrote:

Does it work better if you save the new copied item before calling Reply on
it?

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


"Womble" wrote in message
...
I've got some code that I'm changing the reply method for.

In order to ensure the original message is not changed, I'm creating a
copy
of the item but with the reply method I get a "Could not send the
message" -
any thoughts. An extract from the relevent section:-

Set CurrMail = application.ActiveInspector.CurrentItem

Set NewMail = CurrMail.Copy()

Set NewFwd = NewMail.Reply

NewFwd.Display

I know it's the .Reply because if I replace NewMail.Reply with
Currmail.reply it works perfectly.



Ads