Search Results for

    Show / Hide Table of Contents

    Class DeliverabilitySimulationEmailOptions

    Simulation options for email deliverability tests

    Inheritance
    object
    DeliverabilitySimulationEmailOptions
    Implements
    IValidatableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "DeliverabilitySimulationEmailOptions")]
    public class DeliverabilitySimulationEmailOptions : IValidatableObject

    Constructors

    View Source

    DeliverabilitySimulationEmailOptions(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 Source

    BodyTemplate

    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}}.

    View Source

    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

    View Source

    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 Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    string

    JSON string presentation of the object

    View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String presentation of the object

    Overrides
    object.ToString()

    Implements

    IValidatableObject
    • View Source
    In this article
    Back to top See MailSlurp website for more information.