We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How can I get information from a mail via IMAP before downloading it?

Hi

I am using Aspose.Email to check and download mail messages via IMAP. Before I fetch a message I want to evaluate some mail information: From, To, CC, BCC, Date.

Do the previously mentioned variables contain the same information in both classes Aspose.Email.Imap.ImapMessageInfo (before downloading the message) respectively Aspose.Email.Mail.MailMessage (after downloading the message)?

Best regards

Andreas

Hi Andreas,

Thank you for contacting Aspose Support team.

The MessageInfo object and downloaded message in the form of MailMessage contain the same information regarding From, To, CC, BCC and Date information. Please feel free to write to us if you face any issue while working with this functionality.