EWS.How to judge an attachment as AttachmentType is an visible attachment(is not an inline or hidden attach)? RRS feed

  • 问题

  • AttachmentType in EWS has't a field like“Content-Disposition”,so my code can't judge an attachment is an real one or an inline one.

    is there another way to solve my problem?

    expect answer...thanks a lot!

                   int attachcnt=0;
                   foreach (ExchangeEWSLibrary.CQMail.AttachmentType attach in email.Attachments)
                        if (attach is FileAttachmentType)
                            if (????))                               //here to judge                    
    2009年12月7日 22:48