2022.2

Table Of Contents
Note that this task doesn't merge data records with a PReS Connect template, like the "Create Email
Content" on page500 task does.
This task uses the Microsoft Graph API.
For this task to function correctly, Workflow needs to be granted application permissions for Microsoft
Graph in the organization’s Azure instance.
It needs read access to the Users category (User.Read.All) so that the task can identify the users in
the organization.
In addition, to send emails on any user’s behalf, the Mail.Send permission is required.
For more information on setting application permissions for Microsoft Graph, see https://-
docs.microsoft.com/en-us/graph/auth-v2-service.
Input
Any data file.
Processing
The task uses the Microsoft Graph API to access accounts in the organization (subject to that organ-
ization's IT policies).
While an email is always sent by this task (or at least attempted to be sent), the contents of the email
and presence of attachments depends on the selected options.
Once the contents of the email and attachments are determined, the email (including any attachments)
is sent directly to the selected mail server.
Note that the Windows instance's language setting may affect the output of this plugin. For example, a
Workflow setup configured on a Windows-1252 machine will not be able to write Japanese strings. It
won't affect the contents of attachments, since they are loaded as binary streams.
Note: The MS Graph REST API is limited to a certain number of requests within a certain period
of time. This is called throttling. When throttling comes into play, the plugin receives HTTP
response 429. The plugin will log the error and retry, but it exits with an error after 15 unsuc-
cessful attempts.
Output
This task doesn't have any output other than the email that is sent to the recipient(s).
Task properties
General Tab
Nearly all of the fields on this tab are variable property fields, which means the values may change with
each job at run-time. You can use any combination of text, variables and data selections; see "Variable
task properties" on page289.
Page 547