Create a template
public createTemplate ( string $name, string $subject, string $htmlBody, string $textBody ) : Postmark\Models\DynamicResponseModel | ||
$name | string | The friendly name for this template. |
$subject | string | The template to be used for the 'subject' of emails sent using this template. |
$htmlBody | string | The template to be used for the 'htmlBody' of emails sent using this template, optional if 'textBody' is not NULL. |
$textBody | string | The template to be used for the 'textBody' of emails sent using this template, optional if 'htmlBody' is not NULL. |
return | Postmark\Models\DynamicResponseModel |