DownloadEmail
Downloads the full contents of an email message, including metadata and body content.
Input
| Name | Type | Required | Description |
| MessageId | String | True | Identifier of the email message to be downloaded. |
| DownloadTo | String | False | Destination file path where the downloaded email is saved. If not provided, the email content is returned as output. |
| Encoding | String | False | Specifies the encoding format used for the FileData input, such as Base64.
使用できる値は次のとおりです。NONE, BASE64 デフォルト値はBASE64です。 |
Result Set Columns
| Name | Type | Description |
| Status | String | Indicates whether the stored procedure completed successfully or returned an error. |
| FileData | String | Encoded content of the downloaded email, returned when DownloadTo and FileStream are not specified. |