ReplyAll Event in MS Outlook Does not trigger if MailItem is not o

N

Naamat

Hi,

We have developed an Outlook add-in using VB6 to respond to various emial
events. The ReplyAll event works for us if the Mail Item is opened, however
if the user is on the main screen of outlook where he has the email
highlighted then clicks the Replyall button on the toolbar, then the event is
not fired.

Is this the normal behaviour, or are we missing something?

Thanks for your help.
 
P

Peter Huang [MSFT]

Hi

So far I am researching the issue, and I will reply to you ASAP.

Thanks for your understanding!

Best regards,

Perter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
K

Ken Slovak

For items in an Explorer you have to handle the Explorer's SelectionChange
event and instantiate a mail item declared WithEvents for every selected
item. Those instantiated items can be put in a collection to keep their
references alive and to allow them to respond individually to an event such
as ReplyAll or Reply. When the Selection changes you clear out the existing
collection and release each item in the collection and instantiate a new
bunch of items and add them to the collection.
 
P

Peter Huang [MSFT]

Hi Simeon,

It seems that Ken has a good suggestion, if you still have any concern,
please feel free to post here.

Best regards,

Perter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top