UpdateEmailFullContent
Replaces the HTML of an Email that has had its relationship broken from its template.
Execute
Sample EXECUTE UpdateEmailFullContent EmailId=23685, FileData='aGVsbG8gd29ybGQ='
EXECUTE UpdateEmailFullContent EmailId=23685, LocalPath='C:/users/cdata/file.txt'
EXECUTE UpdateEmailFullContent EmailId=23685, LocalPath='/tmp/file.txt'
Input
Name | Type | Required | Description |
EmailId | String | True | The Id of the email. |
LocalPath | String | False | The absolute path to a file where data is read from. |
FileData | String | False | Base64 string representation of the file content. Only used if LocalPath and InputStream are not set. |
Result Set Columns
Name | Type | Description |
EmailId | Integer | Id of the updated email template. |
Success | Boolean | Boolean indicating if the procedure was executed successfully. If false, the output parameter 'Details' will contain the failure details. |
Details | String | Details of execution failure. NULL if success=true. |