How To Send An Email Without It Getting Saved to the "Sent" Folder In Exchange Module
Comments
-
Hello, yes you can do this within the Exchange365 module.
To get access to the Send Email step that has an option to stop emails from going to the Sent folder, please go to System>Administration>Features and install Microsoft365.Exchange. This will also install Microsoft365.Common as a dependent module. Then you can add both of these modules to your project as dependencies by going to the Project and navigating to Manage>Configuration>Dependencies.
Once you have this setup, you will need to create an OAuth token for the sending account. If you already have a provider set up for Exchange, that should likely still work for this, but you will need to create a new token where the base url for the scope is https://graph.microsoft.com/ instead of the https://outlook.office.com/ you would have used for Exchange.
From there you can go to a flow. In the step toolbox, go to Integration>Microsoft365>Exchange>Email and you will find a Send Email step. With that step mapped into the flow, go ahead and set it up with your test data. User Identifier should be the OID of the sending account. The toggle "Save to Sent Items" is what you want to have set to "false".
Then there is an input called Settings Override. Please set it as follows where the token you use is the one you created with the graph endpoint as the scope.
Once all of that setup is in place you should be good to run the step for testing.
Howdy, Stranger!
Categories
- 4.4K All Categories
- 82 General
- 13 Training
- 210 Installation / Setup
- 1.2K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 498 General Q & A
- 714 Forms
- 347 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 187 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 230 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 26 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions