Office add-in for Outlook - Sometimes the sender's email address becomes LegacyExchangeDN.
Kenta Hayashi
1
Reputation point
Hello.
I am currently developing an Office add-in for Outlook.
When I use the following method to get the sender's email address, in rare cases, the emailAddress property becomes the value of LegacyExchangeDN instead of the email address.
office.from
The following is an example of an object when it becomes a LegacyExchangeDN (some parts are hidden).
{displayName: "XXXXXXXX", emailAddress:"/O=EXCHANGELABS/OU=EXCHANGE ADMINISTRATIVE GROUP (XXXXXXXXXXXXXXXX)/CN=RECIPIENTS/CN=XXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXX"}
We do not know the conditions under which this happens.
Can you please tell me the cause of this problem and how to solve it?
We're using Office 365(Microsoft 365).
Sign in to answer