Skip to main content

Microsoft 365 Email

Sends an email to the specified address using Microsoft 365.

Category: Microsoft Office 365 & OneDrive · Group: Office 365 · Activity name: Microsoft365Email

The Microsoft365Email activity in the designer

Example

outputVariable = Microsoft365Email("<fromAddress>", "<toRecipients>", emailSubject="<emailSubject>", emailBody="<emailBody>", ccRecipients="<ccRecipients>", bccRecipients="<bccRecipients>", attachments=[])

Inputs

NameTypeRequiredDefaultDescription
FromstringYesThe email from which the message will be sent. The sender's email.
TostringYesThe email to whom the message will be sent. The recipient's email.
Email subjectstringYesThe subject of the email to be sent.
Email bodystringYesThe body of the email to be sent.
CcstringRecipient emails to add to Cc. Use ; to separate multiple emails.
BccstringRecipient emails to add to Bcc. Use ; to separate multiple emails.
AttachmentsarrayList of file paths to include as email attachments.

Outputs

NameTypeDescription
outputVariablestringSpecifies the name of the variable that will store email conversation id.