espradli
Scout

Can a email be sent as private or confidential

Jump to solution

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.

Reply
8 Replies
cju
Scout

Re: Can a email be sent as private or confidential

Jump to solution

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

Reply
burkslm
Novice

Re: Can a email be sent as private or confidential

Jump to solution

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

Reply
espradli
Scout

Re: Can a email be sent as private or confidential

Jump to solution

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>

Reply
vadim_tabakman
Nintex Employee
Nintex Employee

Re: Can a email be sent as private or confidential

Jump to solution

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

Reply
espradli
Scout

Re: Can a email be sent as private or confidential

Jump to solution

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

0 Kudos
Reply
vadim_tabakman
Nintex Employee
Nintex Employee

Re: Can a email be sent as private or confidential

Jump to solution

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

See you in Vegas!!

Vadim

0 Kudos
Reply
cju
Scout

Re: Can a email be sent as private or confidential

Jump to solution

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 .

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 !

Reply
vadim_tabakman
Nintex Employee
Nintex Employee

Re: Can a email be sent as private or confidential

Jump to solution

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

Reply