M
Mark Smith
I am trying to write an Add-In (VC6) that allows me to export an email to
another program. I am currently working with Outlook 2000. Most things are
working fine, but there are a few things I can't figure out.
There doesn't seem to be any way to get the email adress of the sender of an
email. The MailItem object has GetSenderName and GetSentOnBehalfOfName, but
these just give me the display name. Is there some kind of look up I can do
given the display name? Or some other way to get the sender's address?
Also, if I receive an email that is sent to an address without a domain
(e.g. just to NAME, not to NAME@DOMAIN), is there any way to get that
domain? I tried the Recipients::ResolveAll method, but that didn't do
anything.
Thanks!
Mark
another program. I am currently working with Outlook 2000. Most things are
working fine, but there are a few things I can't figure out.
There doesn't seem to be any way to get the email adress of the sender of an
email. The MailItem object has GetSenderName and GetSentOnBehalfOfName, but
these just give me the display name. Is there some kind of look up I can do
given the display name? Or some other way to get the sender's address?
Also, if I receive an email that is sent to an address without a domain
(e.g. just to NAME, not to NAME@DOMAIN), is there any way to get that
domain? I tried the Recipients::ResolveAll method, but that didn't do
anything.
Thanks!
Mark