Free Support Forum - aspose.com

Missing Domain Level Information in From

When using Aspose Email for Java version 19.6 and trying to get the full information about the From field for the attached .msg file, it is not returning the full information.

MailMessage message = MailMessage.load("RIJ.PC.00000109.msg", new MsgLoadOptions());
MailAddress address = message.getFrom();
String addressString = address.toString();

Its returning “Chandrasekarapuram, Ramya”, but should be “Chandrasekarapuram, Ramya” rchandrasekarapuram@epiqsystems.com

RIJ.PC.00000109.zip (20.4 KB)

Actually nevermind on this one I investigated the msg file some more and even though when I open it in outlook it resolves the from field to the user that orginally sent the message the msg file does not contain that user’s email address.

@mstandfuss,

I have observed that you are using an older version of API. Can you please try using latest Aspose.Email for Java 20.4 on your end if there is still an issue, please share the feedback with us.