Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

Miissing Sender Name

$
0
0
Hi There,
I am trying to load (.msg) file and its properties by using following code snippet.

MapiMessage pMail                    = null;           
MailMessage Obj_MailMessage          = null;
MailMessageLoadOptions loadOptions   = null;

Aspose.Email.Mail.Attachment attach  = null;
try
{
        loadOptions                 = new MailMessageLoadOptions();
        loadOptions.MessageFormat   = MessageFormat.Msg;
        
        Obj_MailMessage             = MailMessage.Load(pMsgPath, loadOptions);
        pMail                       = MapiMessage.FromMailMessage(Obj_MailMessage, OutlookMessageFormat.Unicode);            
}
catch(Exception ex)
{

}
But I see pMail(which is MapiMessage) properties I am getting SenderEmailAddress and SenderName Null. But in original Msg file SenderName is present.
I have attached msg File.I am using Aspose version 4.2.Please help.

Thanks,
Pooja

Viewing all articles
Browse latest Browse all 1367

Latest Images

Trending Articles



Latest Images