Class DeliverabilitySimulationEmailOptions
Simulation options for email deliverability tests
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "DeliverabilitySimulationEmailOptions")]
public class DeliverabilitySimulationEmailOptions : IValidatableObject
Constructors
View SourceDeliverabilitySimulationEmailOptions(string, string, string)
Initializes a new instance of the DeliverabilitySimulationEmailOptions class.
Declaration
public DeliverabilitySimulationEmailOptions(string fromOverride = null, string subject = null, string bodyTemplate = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fromOverride | Optional from override for each sent email. |
| string | subject | Optional email subject fallback used when template subject is omitted. |
| string | bodyTemplate | Optional email body template. Supports {{targetLabel}}, {{sendIndex}}, {{attempt}}.. |
Properties
View SourceBodyTemplate
Optional email body template. Supports {{targetLabel}}, {{sendIndex}}, {{attempt}}.
Declaration
[DataMember(Name = "bodyTemplate", EmitDefaultValue = true)]
public string BodyTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional email body template. Supports {{targetLabel}}, {{sendIndex}}, {{attempt}}. |
FromOverride
Optional from override for each sent email
Declaration
[DataMember(Name = "fromOverride", EmitDefaultValue = true)]
public string FromOverride { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional from override for each sent email |
Subject
Optional email subject fallback used when template subject is omitted
Declaration
[DataMember(Name = "subject", EmitDefaultValue = true)]
public string Subject { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional email subject fallback used when template subject is omitted |
Methods
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
| Type | Description |
|---|---|
| string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String presentation of the object |