Can a email be sent as private or confidential

  • 5 February 2016
  • 8 replies
  • 9 views

Badge +6

We have PTO emails that a workflow will send, but we want to mark them as private or confidential so that NO delegates on their outlook can see the email.


8 replies

Userlevel 5
Badge +9

I think that you will have to use Exchange web service.

Brad Orluk has written a blog with an example of using Exchange web service : Polling a users Exchange Online Out Of Office (OOF) status in using Nintex Workflow for Office 365

Here's the method documentation that you should use to create an email : CreateItem operation (email message)

And here's a list of all the properties of an email : https://msdn.microsoft.com/EN-US/library/office/aa494306(v=exchg.150).aspx

You can use the "sensitivity" property which possible values are :

  • Normal
  • Personal
  • Private
  • Confidential

Hope this helps

Badge +11

I don't think you can. But I am not sure. Vadim Tabakman​,, Andrew or Mike can probably answer this one!

Badge +6

Thank you Caroline Jung​ your code worked perfectly. I attached the workflow file.

Nintex Workflow, use the "Web request" action and configure it like the following to send a private email :

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

  xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">

  <soap:Body>

    <CreateItem
MessageDisposition="SendAndSaveCopy" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">

      <SavedItemFolderId>

        <t:DistinguishedFolderId
Id="drafts" />

      </SavedItemFolderId>

      <Items>

        <t:Message>

         <t:ItemClass>IPM.Note</t:ItemClass>

         <t:Subject>This is the subject of the email</t:Subject>

         <t:Sensitivity>Private</t:Sensitivity>

         <t:Body BodyType="HTML">This is the body of the email</t:Body>

          <t:ToRecipients>

           <t:Mailbox>

             <t:EmailAddress>email.address@domain.com</t:EmailAddress>

           </t:Mailbox>

          </t:ToRecipients>

          <t:IsRead>false</t:IsRead>

        </t:Message>

      </Items>

    </CreateItem>

  </soap:Body>

</soap:Envelope>

Userlevel 7
Badge +11

Awesome.  Thanks for sharing the workflow.  That's great.

Btw... I'm lucky enough to be presenting at Nintex InspireX 2016 with Caroline. I hope you are all are sufficiently jealous!!!

Vadim

Badge +6

That's awesome. I will be there as well happy.png I am excited to learn more. This product is fantastic.

Userlevel 7
Badge +11

You are?? That's awesome.  Look forward to catching up with you in person.

See you in Vegas!!

Vadim

Userlevel 5
Badge +9

That's great that it worked !

Thanks for adding the workflow.

That's really cool that you will come at InspireX, look forward to seeing you wink.png.

Awesome Vadim ! Do you know that when I began using Nintex solutions, your blog has really helped me (and saved me a lot of time) and was a big reference ! You've taught me a lot !

Userlevel 7
Badge +11

happy.png Awesome.  I'm glad it's useful.  I knew there was one person that was reading it haha.

Reply