Determine the "To" field in a replied-to message?

J

joebob

I'm using a custom form for replies. In the code for the custom form, is there a way to programmatically determine the e-mail address in the "To" field of the message being replied to?
 
S

Sue Mosher [MVP-Outlook]

Iterate its Recipients collection, checking the Type property of each
Recipient. Remember there may be more than one To address.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



I'm using a custom form for replies. In the code for the custom form, is
there a way to programmatically determine the e-mail address in the "To"
field of the message being replied to?
 
J

joebob

I thought of that, but how would I do that from the reply form? In other words, I receive a message and hit the Reply button. In the custom Reply form that opens up, how do I refer back to the Recipients collection of the original message that I'm replying to? Thanks
 
S

Sue Mosher [MVP-Outlook]

How are you invoking the custom reply form? That's where you'll need to
interate the original item's Recipients collection. You haven't said what
you want to do with it yet.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



I thought of that, but how would I do that from the reply form? In other
words, I receive a message and hit the Reply button. In the custom Reply
form that opens up, how do I refer back to the Recipients collection of the
original message that I'm replying to? Thanks
 

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