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

MailMessage.Sender

$
0
0
Hi,
While extracting messages from POP3 or from PST files,
I cannot see the sender details.

I'm using for POP3 :
MailMessage message = client.FetchMessage(i);

and for PST :
MapiMessage mapiMsg = personalStorage.ExtractMessage(messageInfo);
MailMessageInterpretor mi = MailMessageInterpretorFactory.Instance.GetIntepretor(mapiMsg.MessageClass);
MailMessage message = mi.Interpret(mapiMsg);

In both cases,
message.Sender.Address is null
and
message.Sender.DisplayName is null

for all mails extracted.

I would appreciate knowing if there is another way to get the sender's mail and name ?


with regards,
Daniel.

Viewing all articles
Browse latest Browse all 1367

Trending Articles