Identify TNEF attachment in MailBee

99 Views Asked by At

Q: I am using MailBee to gets attachemnt in winmail.data(TNEF), but I am got several other files which content type is application/octet-stream, I don't want to save this type as attachment.

Currently, my solution is using content type to judge it.

if (tnefAttachment.ContentType.ToLower() != "application/octet-stream")
{
    SaveAttachment(tnefAttachment); 
}

I don't want using content type to identify it, so have any other solution workable? Thanks in advance.

0

There are 0 best solutions below