Hello Gurus,

I have been working on an email program that I incorporated an optout list. Currently everything is working pretty good with one exception. When sending emails I have a link that can be clicked that will open an email. When the user sends this email back to me I have a program that picks it up and adds that email address to my optout list. My problem is that I don't always get the address. Sometimes it gives me a name instead of the email. Is there a function that will give me the email address all of the time instead of the name?

I am using the MapiMessages and MapiSession. This is how I am getting the email address right now.

strRecip = oMailMsg.RecipAddress

oMailMsg is MapiMessages.

Thanks in advance,
Solturus