B
BVM
Hi:
I can get recipient's email by using Redemption:
Redemption.MAPIUtils utils = new Redemption.MAPIUtils();
utils.MAPIOBJECT = this.Application.Session.MAPIOBJECT;
int PrSMTPAddress = 0x39FE001E;
string AddresseeEmail = (string)utils.HrGetOneProp(mail.Recipients[1].AddressEntry.MAPIOBJECT, PrSMTPAddress);
Now I want to get sender's email address as well. mail.SenderEmailAddress is not always as simple as (e-mail address removed). How do I get the sender address? (mail is Outlook mailitem).
Thanks,
Danny Huang
I can get recipient's email by using Redemption:
Redemption.MAPIUtils utils = new Redemption.MAPIUtils();
utils.MAPIOBJECT = this.Application.Session.MAPIOBJECT;
int PrSMTPAddress = 0x39FE001E;
string AddresseeEmail = (string)utils.HrGetOneProp(mail.Recipients[1].AddressEntry.MAPIOBJECT, PrSMTPAddress);
Now I want to get sender's email address as well. mail.SenderEmailAddress is not always as simple as (e-mail address removed). How do I get the sender address? (mail is Outlook mailitem).
Thanks,
Danny Huang