Class CreateEmailTemplateRequest
- Namespace
- Mailtrap.EmailTemplates.Requests
- Assembly
- Mailtrap.Abstractions.dll
Request object for creating email template.
public sealed record CreateEmailTemplateRequest : EmailTemplateRequest, IValidatable, IEquatable<EmailTemplateRequest>, IEquatable<CreateEmailTemplateRequest>
- Inheritance
-
CreateEmailTemplateRequest
- Implements
- Inherited Members
Constructors
CreateEmailTemplateRequest(string, string, string)
Primary instance constructor.
public CreateEmailTemplateRequest(string name, string category, string subject)
Parameters
namestringName of the email template.
categorystringCategory of the email template.
subjectstringSubject of the email template.
Remarks
The name must be between 1 and 255 characters.
The category must be between 1 and 255 characters.
The subject must be between 1 and 255 characters.