Problem with Reply-Event...

  • Thread starter Thread starter Heinz-Josef Bomanns
  • Start date Start date
H

Heinz-Josef Bomanns

Hi,

i hook into MailItems via Explorer_SelectionChange:


Private Sub objExpl_SelectionChange()

Set explMail = objExpl.Selection(1)

End Sub

"explMail" is declared as "Private WithEvents explMail As
Outlook.MailItem".

In the "Reply" event of "explMail" i get a 'Response' object that, if
i got it rigth, should be the answer to the original message, thus a
modified copy of the original message. If i do something like

Private Sub explMail_Reply(ByVal Response As Object, _
Cancel As Boolean)

On Error Resume Next
Response.Body = "Test!" & vbCrLf & Response.Body
Err.Clear

End Sub

this is correctly displayed in the inspector for editing the reply,
but my modifications are also taken into the original message ;-(
Thanks for any hints...
 
I haven't noticed that, and will have to play with it to verify that
problem, but usually what I do is not use that but NewInspector and then see
if the newly opened Inspector is a reply or an original or forward instead.
You could see if that works better for you.

What version and build of Outlook are you seeing this with, and are you
using an Exchange mailbox or a PST file? Also, POP3 or IMAP or what type of
email account?
 
Hi Ken,
I haven't noticed that, and will have to play with it to verify that
problem, but usually what I do is not use that but NewInspector and then see
if the newly opened Inspector is a reply or an original or forward instead.
You could see if that works better for you.

Thanks for the hint, will try that...
What version and build of Outlook are you seeing this with, and are you
using an Exchange mailbox or a PST file? Also, POP3 or IMAP or what type of
email account?

It's Outlook 2000/SP-3, tried both IE and CW mode, the installation
i'm testing on has 4 PSTs, now Exchange folders yet, account are
POP3...
 
Back
Top