I'm using MailItem.SendUsingAccount
to get address of sender. But when I try sending a draft mail, the SendUsingAccount
become null, while SenderEmailAddress
still has value (but not the email address, it's Exchange property).
So why SendUsingAccount
is null? And is there any alternative way to get email address of sender?
SendUsingAccount can be null if the property was not explicitly set. In that case you can fall back to Application.Session.CurrentUser.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With