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.
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
I don't think you can. But I am not sure. Vadim Tabakman,, Andrew or Mike can probably answer this one!
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 :
- url : https://your_exchange_server_address/EWS/Exchange.asmx for Exchange OnPremise or https://outlook.office365.com/EWS/Exchange.asmx for Exchange Online
- username/password : enter a username and password of a user who can send email (it will be the sender of the email)
- choose POST
- content type : text/xml; charset="utf-8"
- content of the request (just replace the email address, subject and body) :
<?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>
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
That's awesome. I will be there as well I am excited to learn more. This product is fantastic.
You are?? That's awesome. Look forward to catching up with you in person.
See you in Vegas!!
Vadim
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
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.