Search Results for

    Show / Hide Table of Contents

    Class SentEmailDto

    Sent email details

    Inheritance
    object
    SentEmailDto
    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 = "SentEmailDto")]
    public class 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, Sender, EmailRecipients, string, List<string>, List<string>, List<string>, string, string, string, List<Guid?>, Guid?, string, bool?, DateTime, DateTime, List<Guid?>, string, List<string>, bool?, Guid?, Dictionary<string, object>, Dictionary<string, string>, Guid?, string, string, string, bool?, long?, 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, Sender sender = null, EmailRecipients recipients = 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, DateTime createdAt = 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, Guid? threadId = null, string bodyExcerpt = null, string textExcerpt = null, string inReplyTo = null, bool? favourite = null, long? sizeBytes = null, bool html = false)
    Parameters
    Type Name Description
    Guid id

    ID of sent email (required).

    Guid userId

    User ID (required).

    Guid inboxId

    Inbox ID email was sent from (required).

    Guid? domainId

    Domain ID.

    List<string> to

    Recipients email was sent to.

    string from

    Sent from address.

    Sender sender

    sender.

    EmailRecipients recipients

    recipients.

    string replyTo

    replyTo.

    List<string> cc

    cc.

    List<string> bcc

    bcc.

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

    List<Guid?> toContacts

    toContacts.

    Guid? toGroup

    toGroup.

    string charset

    charset.

    bool? isHTML

    isHTML.

    DateTime sentAt

    sentAt (required).

    DateTime createdAt

    createdAt (required).

    List<Guid?> pixelIds

    pixelIds.

    string messageId

    RFC 5322 Message-ID header value without angle brackets..

    List<string> messageIds

    messageIds.

    bool? virtualSend

    virtualSend.

    Guid? templateId

    templateId.

    Dictionary<string, object> templateVariables

    templateVariables.

    Dictionary<string, string> headers

    headers.

    Guid? threadId

    MailSlurp thread ID for email chain that enables lookup for In-Reply-To and References fields..

    string bodyExcerpt

    An excerpt of the body of the email message for quick preview. Takes HTML content part if exists falls back to TEXT content part if not.

    string textExcerpt

    An excerpt of the body of the email message for quick preview. Takes TEXT content part if exists.

    string inReplyTo

    Parsed value of In-Reply-To header. A Message-ID in a thread..

    bool? favourite

    Is email favourited.

    long? sizeBytes

    Size of raw email message in bytes.

    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
    List<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
    List<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

    BodyExcerpt

    An excerpt of the body of the email message for quick preview. Takes HTML content part if exists falls back to TEXT content part if not

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

    An excerpt of the body of the email message for quick preview. Takes HTML content part if exists falls back to TEXT content part if not

    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
    List<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

    CreatedAt

    Gets or Sets CreatedAt

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

    DomainId

    Domain ID

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

    Domain ID

    View Source

    Favourite

    Is email favourited

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

    Is email favourited

    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
    Guid

    ID of sent email

    View Source

    InReplyTo

    Parsed value of In-Reply-To header. A Message-ID in a thread.

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

    Parsed value of In-Reply-To header. A Message-ID in a thread.

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

    RFC 5322 Message-ID header value without angle brackets.

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

    RFC 5322 Message-ID header value without angle brackets.

    View Source

    MessageIds

    Gets or Sets MessageIds

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

    PixelIds

    Gets or Sets PixelIds

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

    Recipients

    Gets or Sets Recipients

    Declaration
    [DataMember(Name = "recipients", EmitDefaultValue = true)]
    public EmailRecipients Recipients { get; set; }
    Property Value
    Type Description
    EmailRecipients
    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

    Sender

    Gets or Sets Sender

    Declaration
    [DataMember(Name = "sender", EmitDefaultValue = true)]
    public Sender Sender { get; set; }
    Property Value
    Type Description
    Sender
    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

    SizeBytes

    Size of raw email message in bytes

    Declaration
    [DataMember(Name = "sizeBytes", EmitDefaultValue = true)]
    public long? SizeBytes { get; set; }
    Property Value
    Type Description
    long?

    Size of raw email message in bytes

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

    TextExcerpt

    An excerpt of the body of the email message for quick preview. Takes TEXT content part if exists

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

    An excerpt of the body of the email message for quick preview. Takes TEXT content part if exists

    View Source

    ThreadId

    MailSlurp thread ID for email chain that enables lookup for In-Reply-To and References fields.

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

    MailSlurp thread ID for email chain that enables lookup for In-Reply-To and References fields.

    View Source

    To

    Recipients email was sent to

    Declaration
    [DataMember(Name = "to", EmitDefaultValue = true)]
    public List<string> To { get; set; }
    Property Value
    Type Description
    List<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
    List<Guid?>
    View Source

    ToGroup

    Gets or Sets ToGroup

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

    UserId

    User ID

    Declaration
    [DataMember(Name = "userId", IsRequired = true, EmitDefaultValue = true)]
    public Guid UserId { get; set; }
    Property Value
    Type Description
    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

    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.