I am using Aspose Java api to extract outlook messages from .pst files. Now i am facing issue with to retrieve the sender email address.I am getting abc,123 instead of abc.123@xyz.com.I need the sender email address should be in this format abc.123@xyz.com not this <abc,123 >.
MapiMessage.getSenderSmtpAdress() function returns the From email address in the required format. Could you please give a try to the following sample code and let us know the feedback?
I am getting the above Output for those commands.But i need the actual email address (abc.123@xyz.com) but still i am unable to get this format. Kindly help on this.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.