When we iterate through attachments we get a list of MimeEntity, but the MimeEntity does not provide a name to the attachment. Is CurrentLocation the name of the attachment?
foreach ( var attachment in emailMessage.Attachments )
{
var bytes = attachment.ToString ();
var contentType = attachment.ContentType;
var name = attachment.ContentLocation.ToString ();
}
When we iterate through attachments we get a list of MimeEntity, but the MimeEntity does not provide a name to the attachment. Is CurrentLocation the name of the attachment?