Send email action with extended configuration allows dynamically sending emails from your SharePoint site to any email address.
For more information about Action Builder read Action Builder introduction article.
Note 1: In order to use the Send email action in Modern Forms and List Action you have to approve API access request with 'Mail.Send' permissions. This should be done once per tenant by tenant admin.
Note 2: In order to use this action in Scheduled/Triggered Actions skybow Exchange Connector has to be approved by a tenant administrator before this action can be used.
To configure the action Send Mail the following properties should be specified:
An email address or an expression to be evaluated as an email address to be used as the sender. If left blank, it will take the current user as the sender's name.
In Modern Form/List Actions: If From option is specified then all SharePoint users must have at least one of Send on Behalf or Send As permissions granted to the sender mailbox. Also the the sender's email address should be an organization Microsoft account.
* From field is not displayed in Scheduled/Triggered Actions. The sender's email address has be set necessarily during approving skybow Exchange Connector. The sender's email address of the message must correspond to an email address of an actual user from the current Azure Active Directory.
Email addresses or an expression to be evaluated as the email addresses to be used as receivers of the email.
In the case of using a user field placeholder ([[UserField.Email]]), email address format resolves automatically
*In the case the option 'Show before send' is turned on, field 'To' becomes not required to be filled out in the design time
|CC||no||String||User or expression to be evaluated as an email address that will receive a copy of the message.|
|BCC||no||String||User or expression to be evaluated as an email address that will receive a copy of the message and is concealed from the other recipients.|
|Reply to||no||String||User or expression to be evaluated as an email address used to reply on received email. If not specified, the email address of the sender will be used as ‘Reply to’ email address|
|Subject||yes||String||Subject of the email to be sent. Expressions can be used to dynamically generate this.|
|Send as Text||no||Boolean||Enable or disable HTML for the email body property. If enabled, email will be sent as plain text otherwise it will be sent as HTML email|
|Body||no||String||Actual email message to be sent. You can type text directly into the Body field or use Expressions to dynamically generate this.
Supports HTML tags to format the body of the email for the case if 'Send as text' is disabled.
|Attachments||no||String||Absolute or server relative url(s) or placeholder that references a file that will be sent with the email as an attachment. Multiple attachments should be separated by commas (“,”)
Note: Size of the attached files in total must be less than 3 MB
|Fallback||no||String||Email address(es) used to send error details if action execution failed.|
|Show before send*||no||Boolean||Show form with email properties before sending it.
*This option available only in Modern Forms/List Actions
|Save to sent items
||no||Boolean||Enable or disable saving of email to Sent folder of the mailbox|
|Modern Forms||List Actions||Scheduled/Triggered Actions|
Example of Send emil action configuration on the current site
'Show before send' form
|From||String||Returns email address of the sender|
|To||String||Returns email address of the receiver(s)|
|Cc||String||Returns email address of the Cc receiver(s)|
|Bcc||String||Returns email address of the Bcc receiver(s)|
|ReplyTo||String||Returns email address used to reply on received email|
|Subject||String||Returns subject of the email|
|Body||String||Returns body of the email|
|Attachments||String||Returns absolute or server relative url(s) of attached file(s)|
When you use Send Email action in Scheduled/Triggered action and you deploy the solution to another SharePoint tenant, it requires approval of skybow Exchange Connector on the deployment tenant as well. Also it required to set an email address of the sender.
In a case you don’t have appropriate permission to approve skybow Exchange Connector on the target tenant you can do it after deployment process manually to follow the next steps:
1. Connect to the solution manager on your tenant with tenant admin credentials;
https://solutionmanager.skybow.com/Connector/AuthorizeApp?app=ExchangeConnector&siteUrl=<Site or Tenant URL>;
2. Approve manually skybow Exchange Connector;