Class EmailModel
Class represents configuration of EmailMessage.
public class EmailModel
- Inheritance
-
objectEmailModel
- Extension Methods
Properties
Body
Content of the email.
[RequiredValidationRule]
public string Body { get; set; }
Property Value
- string
From
Sender of the email.
[RequiredValidationRule]
[EmailValidationRule(AllowMultipleAddresses = false)]
public string From { get; set; }
Property Value
- string
Recipients
Recipients of the email.
[RequiredValidationRule]
[EmailValidationRule(AllowMultipleAddresses = true)]
public string Recipients { get; set; }
Property Value
- string
Subject
Subject of the email.
[RequiredValidationRule]
public string Subject { get; set; }
Property Value
- string