SendMail
Sends an email message from the authenticated user's mailbox with optional attachments.
Input
| Name | Type | Required | Description |
| Id | String | False | Optional identifier of the draft email message to send. If not provided, a new message is created from the input fields. |
| Subject | String | False | Subject line of the email. |
| Content | String | False | Body content of the email message. |
| Attachments | String | False | List of attachments in the format: filename1, filecontent1; filename2, filecontent2. Each filecontent can be Base64-encoded data or a file path prefixed with @. |
| FileName | String | False | Name of the email attachment when sending a file manually. |
| LocalFile | String | False | Path to the local file that contains the attachment content. |
| ContentBytes | String | False | Content of the attachment encoded in Base64 format. |
| ToRecipients | String | False | Semicolon-separated list of recipient email addresses for the To field, such as [email protected]; [email protected]. |
| CCRecipients | String | False | Semicolon-separated list of recipient email addresses for the CC field. |
| BccRecipients | String | False | Semicolon-separated list of recipient email addresses for the Bcc field. |
| SenderEmail | String | False | Email address on whose behalf the message should be sent. Use this to send on behalf of another user. |
| FromEmail | String | False | Email address from which the message is sent. Use this to send from another user's account. |
| ContentType | String | False | Format of the email body content, such as text or HTML.
The allowed values are text, html. The default value is text. |
Result Set Columns
| Name | Type | Description |
| Status | String | Indicates whether the stored procedure executed successfully or returned an error. |