74663

EWS managed api : Is there a way to identify if an email or attachment is encrypted?

Question:

Does EWS managed api expose any property to identify whether an item( email/attachment) is encrypted?

Answer1:

var isEmailOpaqueSignedOrEncrypted = false; if (email.ItemClass == "IPM.Note.SMIME") { var attList = email.Attachments.ToList(); if (attList.Count == 1) { isEmailOpaqueSignedOrEncrypted = true; } };

Recommend

  • Getting Exchange Server's users timezone
  • How can I send a multi-part email with text/plain and text/html with Exchange Web Services?
  • EWS API Delegate List
  • TextBox controls are not Working with Export To PDF(iTextSharp)
  • How to update the UI immediately when a new record is added? Related to ember-cli-pagination
  • Multiple calender in exchange web service
  • Store password in application
  • Can't get any output from the taglib
  • Getting JavaScript runtime error: irrationalPath, what does it mean?
  • Add class element based on the name of the page
  • SOAP with Attachment / MIME content
  • Issue when joining serf nodes located in different Docker containers
  • Fixed Background Works in Chrome but Not Firefox?
  • Paypal 'Buy Now' button not letting me dynamically set the price
  • Implementation of RTTI using typeid
  • Wrapping a c#/WPF GUI around c++/cli around native c++
  • x64 applications using gdi+: what are the consequences on performance?
  • How do I access an unhandled exception in an MVC Error view?
  • How to attach a node.js readable stream to a Sendgrid email?
  • Email verification using google app script and google forms
  • Database structure design with variable amounts of fields
  • Email format validation in mvc3 view
  • How do I fake an specific browser client when using Java's Net library?
  • Can Jackson SerializationFeature be overridden per field or class?
  • How to get a value (ex: baseURL) in every Karate feature?
  • Knitr HTML Loop - Some HTML output, some R output
  • sending/ receiving email in Java
  • Hazelcast - OperationTimeoutException
  • RestKit - RKRequestDelegate does not exist
  • How to delete a row from a dynamic generate table using jquery?
  • Revoking OAuth Access Token Results in 404 Not Found
  • Rails 2: use form_for to build a form covering multiple objects of the same class
  • WPF Applying a trigger on binding failure
  • Benchmarking RAM performance - UWP and C#
  • NSLayoutConstraint that would pin a view to the bottom edge of a superview
  • using HTMLImports.whenReady not working in chrome
  • Authorize attributes not working in MVC 4
  • EntityFramework adding new object to nested object collection
  • Checking variable from a different class in C#
  • How to push additional view controllers onto NavigationController but keep the TabBar?