Search Results for

    Show / Hide Table of Contents

    Class SentEmailDto

    Sent email details

    Inheritance
    object
    SentEmailDto
    Implements
    IEquatable<SentEmailDto>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "SentEmailDto")]
    public class SentEmailDto : IEquatable<SentEmailDto>, IValidatableObject

    Constructors

    View Source

    SentEmailDto()

    Initializes a new instance of the SentEmailDto class.

    Declaration
    [JsonConstructor]
    protected SentEmailDto()
    View Source

    SentEmailDto(Guid, Guid, Guid, Guid?, List<string>, string, string, List<string>, List<string>, List<string>, string, string, string, List<Guid?>, Guid?, string, bool?, DateTime, List<Guid?>, string, List<string>, bool?, Guid?, Dictionary<string, object>, Dictionary<string, string>, bool)

    Initializes a new instance of the SentEmailDto class.

    Declaration
    public SentEmailDto(Guid id = default, Guid userId = default, Guid inboxId = default, Guid? domainId = null, List<string> to = null, string from = null, string replyTo = null, List<string> cc = null, List<string> bcc = null, List<string> attachments = null, string subject = null, string bodyMD5Hash = null, string body = null, List<Guid?> toContacts = null, Guid? toGroup = null, string charset = null, bool? isHTML = null, DateTime sentAt = default, List<Guid?> pixelIds = null, string messageId = null, List<string> messageIds = null, bool? virtualSend = null, Guid? templateId = null, Dictionary<string, object> templateVariables = null, Dictionary<string, string> headers = null, bool html = false)
    Parameters
    Type Name Description
    System.Guid id

    ID of sent email (required).

    System.Guid userId

    User ID (required).

    System.Guid inboxId

    Inbox ID email was sent from (required).

    System.Guid? domainId

    Domain ID.

    System.Collections.Generic.List<T><string> to

    Recipients email was sent to.

    string from

    Sent from address.

    string replyTo

    replyTo.

    System.Collections.Generic.List<T><string> cc

    cc.

    System.Collections.Generic.List<T><string> bcc

    bcc.

    System.Collections.Generic.List<T><string> attachments

    Array of IDs of attachments that were sent with this email.

    string subject

    subject.

    string bodyMD5Hash

    MD5 Hash.

    string body

    Sent email body.

    System.Collections.Generic.List<T><System.Guid?> toContacts

    toContacts.

    System.Guid? toGroup

    toGroup.

    string charset

    charset.

    bool? isHTML

    isHTML.

    DateTime sentAt

    sentAt (required).

    System.Collections.Generic.List<T><System.Guid?> pixelIds

    pixelIds.

    string messageId

    messageId.

    System.Collections.Generic.List<T><string> messageIds

    messageIds.

    bool? virtualSend

    virtualSend.

    System.Guid? templateId

    templateId.

    Dictionary<string, object> templateVariables

    templateVariables.

    Dictionary<string, string> headers

    headers.

    bool html

    html.

    Properties

    View Source

    Attachments

    Array of IDs of attachments that were sent with this email

    Declaration
    [DataMember(Name = "attachments", EmitDefaultValue = true)]
    public List<string> Attachments { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><string>

    Array of IDs of attachments that were sent with this email

    View Source

    Bcc

    Gets or Sets Bcc

    Declaration
    [DataMember(Name = "bcc", EmitDefaultValue = true)]
    public List<string> Bcc { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><string>
    View Source

    Body

    Sent email body

    Declaration
    [DataMember(Name = "body", EmitDefaultValue = true)]
    public string Body { get; set; }
    Property Value
    Type Description
    string

    Sent email body

    View Source

    BodyMD5Hash

    MD5 Hash

    Declaration
    [DataMember(Name = "bodyMD5Hash", EmitDefaultValue = true)]
    public string BodyMD5Hash { get; set; }
    Property Value
    Type Description
    string

    MD5 Hash

    View Source

    Cc

    Gets or Sets Cc

    Declaration
    [DataMember(Name = "cc", EmitDefaultValue = true)]
    public List<string> Cc { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><string>
    View Source

    Charset

    Gets or Sets Charset

    Declaration
    [DataMember(Name = "charset", EmitDefaultValue = true)]
    public string Charset { get; set; }
    Property Value
    Type Description
    string
    View Source

    DomainId

    Domain ID

    Declaration
    [DataMember(Name = "domainId", EmitDefaultValue = true)]
    public Guid? DomainId { get; set; }
    Property Value
    Type Description
    System.Guid?

    Domain ID

    View Source

    From

    Sent from address

    Declaration
    [DataMember(Name = "from", EmitDefaultValue = true)]
    public string From { get; set; }
    Property Value
    Type Description
    string

    Sent from address

    View Source

    Headers

    Gets or Sets Headers

    Declaration
    [DataMember(Name = "headers", EmitDefaultValue = true)]
    public Dictionary<string, string> Headers { get; set; }
    Property Value
    Type Description
    Dictionary<string, string>
    View Source

    Html

    Gets or Sets Html

    Declaration
    [DataMember(Name = "html", EmitDefaultValue = true)]
    public bool Html { get; set; }
    Property Value
    Type Description
    bool
    View Source

    Id

    ID of sent email

    Declaration
    [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
    public Guid Id { get; set; }
    Property Value
    Type Description
    System.Guid

    ID of sent email

    View Source

    InboxId

    Inbox ID email was sent from

    Declaration
    [DataMember(Name = "inboxId", IsRequired = true, EmitDefaultValue = true)]
    public Guid InboxId { get; set; }
    Property Value
    Type Description
    System.Guid

    Inbox ID email was sent from

    View Source

    IsHTML

    Gets or Sets IsHTML

    Declaration
    [DataMember(Name = "isHTML", EmitDefaultValue = true)]
    public bool? IsHTML { get; set; }
    Property Value
    Type Description
    bool?
    View Source

    MessageId

    Gets or Sets MessageId

    Declaration
    [DataMember(Name = "messageId", EmitDefaultValue = true)]
    public string MessageId { get; set; }
    Property Value
    Type Description
    string
    View Source

    MessageIds

    Gets or Sets MessageIds

    Declaration
    [DataMember(Name = "messageIds", EmitDefaultValue = true)]
    public List<string> MessageIds { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><string>
    View Source

    PixelIds

    Gets or Sets PixelIds

    Declaration
    [DataMember(Name = "pixelIds", EmitDefaultValue = true)]
    public List<Guid?> PixelIds { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><System.Guid?>
    View Source

    ReplyTo

    Gets or Sets ReplyTo

    Declaration
    [DataMember(Name = "replyTo", EmitDefaultValue = true)]
    public string ReplyTo { get; set; }
    Property Value
    Type Description
    string
    View Source

    SentAt

    Gets or Sets SentAt

    Declaration
    [DataMember(Name = "sentAt", IsRequired = true, EmitDefaultValue = true)]
    public DateTime SentAt { get; set; }
    Property Value
    Type Description
    DateTime
    View Source

    Subject

    Gets or Sets Subject

    Declaration
    [DataMember(Name = "subject", EmitDefaultValue = true)]
    public string Subject { get; set; }
    Property Value
    Type Description
    string
    View Source

    TemplateId

    Gets or Sets TemplateId

    Declaration
    [DataMember(Name = "templateId", EmitDefaultValue = true)]
    public Guid? TemplateId { get; set; }
    Property Value
    Type Description
    System.Guid?
    View Source

    TemplateVariables

    Gets or Sets TemplateVariables

    Declaration
    [DataMember(Name = "templateVariables", EmitDefaultValue = true)]
    public Dictionary<string, object> TemplateVariables { get; set; }
    Property Value
    Type Description
    Dictionary<string, object>
    View Source

    To

    Recipients email was sent to

    Declaration
    [DataMember(Name = "to", EmitDefaultValue = true)]
    public List<string> To { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><string>

    Recipients email was sent to

    View Source

    ToContacts

    Gets or Sets ToContacts

    Declaration
    [DataMember(Name = "toContacts", EmitDefaultValue = true)]
    public List<Guid?> ToContacts { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><System.Guid?>
    View Source

    ToGroup

    Gets or Sets ToGroup

    Declaration
    [DataMember(Name = "toGroup", EmitDefaultValue = true)]
    public Guid? ToGroup { get; set; }
    Property Value
    Type Description
    System.Guid?
    View Source

    UserId

    User ID

    Declaration
    [DataMember(Name = "userId", IsRequired = true, EmitDefaultValue = true)]
    public Guid UserId { get; set; }
    Property Value
    Type Description
    System.Guid

    User ID

    View Source

    VirtualSend

    Gets or Sets VirtualSend

    Declaration
    [DataMember(Name = "virtualSend", EmitDefaultValue = true)]
    public bool? VirtualSend { get; set; }
    Property Value
    Type Description
    bool?

    Methods

    View Source

    Equals(SentEmailDto)

    Returns true if SentEmailDto instances are equal

    Declaration
    public bool Equals(SentEmailDto input)
    Parameters
    Type Name Description
    SentEmailDto input

    Instance of SentEmailDto to be compared

    Returns
    Type Description
    bool

    Boolean

    View Source

    Equals(object)

    Returns true if objects are equal

    Declaration
    public override bool Equals(object input)
    Parameters
    Type Name Description
    object input

    Object to be compared

    Returns
    Type Description
    bool

    Boolean

    Overrides
    Object.Equals(Object)
    View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Hash code

    Overrides
    Object.GetHashCode()
    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()
    View Source

    Validate(ValidationContext)

    To validate all properties of the instance

    Declaration
    public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    ValidationContext validationContext

    Validation context

    Returns
    Type Description
    IEnumerable<ValidationResult>

    Validation Result

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • View Source
    In This Article
    Back to top See MailSlurp website for more information.