Search Results for

    Show / Hide Table of Contents

    Class ImapSmtpAccessDetails

    Access details for inbox using SMTP or IMAP

    Inheritance
    object
    ImapSmtpAccessDetails
    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 = "ImapSmtpAccessDetails")]
    public class ImapSmtpAccessDetails : IValidatableObject

    Constructors

    View Source

    ImapSmtpAccessDetails()

    Initializes a new instance of the ImapSmtpAccessDetails class.

    Declaration
    [JsonConstructor]
    protected ImapSmtpAccessDetails()
    View Source

    ImapSmtpAccessDetails(string, string, int, string, string, string, int, string, string, string, int, string, string, string, int, string, string, string, string)

    Initializes a new instance of the ImapSmtpAccessDetails class.

    Declaration
    public ImapSmtpAccessDetails(string emailAddress = null, string secureSmtpServerHost = null, int secureSmtpServerPort = 0, string secureSmtpUsername = null, string secureSmtpPassword = null, string smtpServerHost = null, int smtpServerPort = 0, string smtpUsername = null, string smtpPassword = null, string secureImapServerHost = null, int secureImapServerPort = 0, string secureImapUsername = null, string secureImapPassword = null, string imapServerHost = null, int imapServerPort = 0, string imapUsername = null, string imapPassword = null, string imapMailbox = null, string mailFromDomain = null)
    Parameters
    Type Name Description
    string emailAddress

    Email address for SMTP/IMAP login (required).

    string secureSmtpServerHost

    Secure TLS SMTP server host domain (required).

    int secureSmtpServerPort

    Secure TLS SMTP server host port (required).

    string secureSmtpUsername

    Secure TLS SMTP username for login (required).

    string secureSmtpPassword

    Secure TLS SMTP password for login (required).

    string smtpServerHost

    SMTP server host domain (required).

    int smtpServerPort

    SMTP server host port (required).

    string smtpUsername

    SMTP username for login (required).

    string smtpPassword

    SMTP password for login (required).

    string secureImapServerHost

    Secure TLS IMAP server host domain (required).

    int secureImapServerPort

    Secure TLS IMAP server host port (required).

    string secureImapUsername

    Secure TLS IMAP username for login (required).

    string secureImapPassword

    Secure TLS IMAP password for login (required).

    string imapServerHost

    IMAP server host domain (required).

    int imapServerPort

    IMAP server host port (required).

    string imapUsername

    IMAP username for login (required).

    string imapPassword

    IMAP password for login (required).

    string imapMailbox

    IMAP mailbox to SELECT (required).

    string mailFromDomain

    Mail from domain or SMTP HELO value.

    Properties

    View Source

    EmailAddress

    Email address for SMTP/IMAP login

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

    Email address for SMTP/IMAP login

    View Source

    ImapMailbox

    IMAP mailbox to SELECT

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

    IMAP mailbox to SELECT

    View Source

    ImapPassword

    IMAP password for login

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

    IMAP password for login

    View Source

    ImapServerHost

    IMAP server host domain

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

    IMAP server host domain

    View Source

    ImapServerPort

    IMAP server host port

    Declaration
    [DataMember(Name = "imapServerPort", IsRequired = true, EmitDefaultValue = true)]
    public int ImapServerPort { get; set; }
    Property Value
    Type Description
    int

    IMAP server host port

    View Source

    ImapUsername

    IMAP username for login

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

    IMAP username for login

    View Source

    MailFromDomain

    Mail from domain or SMTP HELO value

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

    Mail from domain or SMTP HELO value

    View Source

    SecureImapPassword

    Secure TLS IMAP password for login

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

    Secure TLS IMAP password for login

    View Source

    SecureImapServerHost

    Secure TLS IMAP server host domain

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

    Secure TLS IMAP server host domain

    View Source

    SecureImapServerPort

    Secure TLS IMAP server host port

    Declaration
    [DataMember(Name = "secureImapServerPort", IsRequired = true, EmitDefaultValue = true)]
    public int SecureImapServerPort { get; set; }
    Property Value
    Type Description
    int

    Secure TLS IMAP server host port

    View Source

    SecureImapUsername

    Secure TLS IMAP username for login

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

    Secure TLS IMAP username for login

    View Source

    SecureSmtpPassword

    Secure TLS SMTP password for login

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

    Secure TLS SMTP password for login

    View Source

    SecureSmtpServerHost

    Secure TLS SMTP server host domain

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

    Secure TLS SMTP server host domain

    View Source

    SecureSmtpServerPort

    Secure TLS SMTP server host port

    Declaration
    [DataMember(Name = "secureSmtpServerPort", IsRequired = true, EmitDefaultValue = true)]
    public int SecureSmtpServerPort { get; set; }
    Property Value
    Type Description
    int

    Secure TLS SMTP server host port

    View Source

    SecureSmtpUsername

    Secure TLS SMTP username for login

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

    Secure TLS SMTP username for login

    View Source

    SmtpPassword

    SMTP password for login

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

    SMTP password for login

    View Source

    SmtpServerHost

    SMTP server host domain

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

    SMTP server host domain

    View Source

    SmtpServerPort

    SMTP server host port

    Declaration
    [DataMember(Name = "smtpServerPort", IsRequired = true, EmitDefaultValue = true)]
    public int SmtpServerPort { get; set; }
    Property Value
    Type Description
    int

    SMTP server host port

    View Source

    SmtpUsername

    SMTP username for login

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

    SMTP username for login

    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.