Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

SmtpSettings Class

Namespace: Rebex.Net
Assembly: Rebex.Smtp.dll (version 7.0.9147)

Specifies various Smtp settings.

Syntax
public class SmtpSettings : SslSettings
Inheritance
Object
SslSettings
SmtpSettings
Inherited Members
SslSettings.GetNamedGroups()
SslSettings.GetPreferredSuites()
SslSettings.GetPskKeyExchangeModes()
SslSettings.GetSignatureSchemes()
SslSettings.GetSymmetricCipherSuites()
SslSettings.SetNamedGroups(TlsNamedGroup[])
SslSettings.SetPreferredSuites(TlsCipherSuite[])
SslSettings.SetPskKeyExchangeModes(TlsPskKeyExchangeMode[])
SslSettings.SetSignatureSchemes(TlsSignatureScheme[])
SslSettings.SetSymmetricCipherSuites(TlsSymmetricCipherSuite[])
SslSettings.SslAcceptAllCertificates
SslSettings.SslAllowedCurves
SslSettings.SslAllowedSuites
SslSettings.SslAllowedVersions
SslSettings.SslAllowVulnerableSuites
SslSettings.SslChannelBindingEnabled
SslSettings.SslClientCertificateRequestHandler
SslSettings.SslDoNotInsertEmptyFragment
SslSettings.SslEnableSilentClosure
SslSettings.SslExtendedMasterSecretEnabled
SslSettings.SslMinimumDiffieHellmanKeySize
SslSettings.SslRenegotiationExtensionEnabled
SslSettings.SslRenegotiationMode
SslSettings.SslServerCertificateValidationOptions
SslSettings.SslServerCertificateVerifier
SslSettings.SslServerName
SslSettings.SslServerNameIndicationEnabled
SslSettings.SslSession
SslSettings.SslStrictKeyUsageValidation
SslSettings.ToParameters()
SslSettings.UseDefaultDomain
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Constructors

Name Description
SmtpSettings()

Creates an instance of SmtpSettings.

Properties

Name Description
AllowNullSender

Allow null sender (<>) to be used.

RaiseEventsFromCurrentThread

Specifies whether to raise asynchronous events from the current working thread or whether to raise them using a SynchronizationContext available when an asynchronous operation was started.

ReportTransferredData

Specifies whether to report the actual content of transferred blocks of data through TransferProgress event.

SendWithNoBuffer

Causes the Send(String) and Send(Stream) methods to send message data directly from the input file or stream. Only the headers are processed due to the need to remove 'Bcc' fields.

SkipContentTransferEncodingCheck

Skips content transfer encoding check when sending messages. Really not recommended!

SslAcceptAllCertificates

Specifies whether to accept all server certificates by default. This is strongly discouraged in production environment. Inherited from SslSettings.

SslAllowedCurves

Gets or sets the group of allowed elliptic curves (for ECDHE cipher suites). Inherited from SslSettings.

SslAllowedSuites

Gets or sets the group of allowed TLS/SSL cipher suites. Inherited from SslSettings.

SslAllowedVersions

Gets or sets allowed TLS/SSL versions. Inherited from SslSettings.

SslAllowVulnerableSuites

Gets or sets a value indicating whether vulnerable ciphers might be enabled using SslAllowedSuites property. Inherited from SslSettings.

SslChannelBindingEnabled

Enables or disables secure channel binding. Only supported on Windows. Inherited from SslSettings.

SslClientCertificateRequestHandler

Gets or sets TLS/SSL client certificate request handler. Inherited from SslSettings.

SslDoNotInsertEmptyFragment

Do not send empty record after successful handshake with CBC ciphers. Inherited from SslSettings.

SslEnableSilentClosure

Enables or disables the requirement for the other side of the connection to send closure alert (close_notify messages). This is in violation of the RFC and potentially opens the communication to truncation attack, but unfortunately it's needed when communicating with some broken TLS servers. When set to null, a behavior suitable for the application protocol is used, depending o whether the protocol is self-terminated. Only applies to TLS 1.2 or lower. Inherited from SslSettings.

SslExtendedMasterSecretEnabled

Enables or disables extended master secret extension. Inherited from SslSettings.

SslMinimumDiffieHellmanKeySize

Gets or sets the minimum allowed size (in bits) of the ephemeral Diffie-Hellman prime. Valid values are from 512 to 16384, inclusive. Inherited from SslSettings.

SslRenegotiationExtensionEnabled

Enables or disables renegotiation indication extension. This option is deprecated, please use SslRenegotiationMode instead. Inherited from SslSettings.

SslRenegotiationMode

Sets allowed renegotiation mode. Inherited from SslSettings.

SslServerCertificateValidationOptions

Gets or sets validation options to use when validating a server certificate using the default certificate validator. This value is passed as Options as well. Inherited from SslSettings.

SslServerCertificateVerifier

Gets or sets TLS/SSL server certificate verifier. Inherited from SslSettings.

SslServerName

Gets or sets TLS/SSL server's common name. Inherited from SslSettings.

SslServerNameIndicationEnabled

Enables and disables server name indication. Inherited from SslSettings.

SslSession

Gets or sets a TLS/SSL session to resume. Inherited from SslSettings.

SslStrictKeyUsageValidation

Gets or sets a key usage check mode for server certificate. Inherited from SslSettings.

UseDefaultDomain

Specifies whether to use default domain or NULL domain for SSPI if domain not specified. Inherited from SslSettings.

Methods

Name Description
Clone()

Creates a new object that is a copy of the current instance.

GetNamedGroups()

Returns an enumerator that yields allowed named groups, in order of preference, for TLS 1.3. Inherited from SslSettings.

GetPreferredSuites()

Gets collection of TLS cipher suites that are used (in given order) in preference to the remaining suites specified by SslAllowedSuites. Only applies to TLS 1.2 or earlier. For TLS 1.3, use GetSymmetricCipherSuites() method. Inherited from SslSettings.

GetPskKeyExchangeModes()

Returns an enumerator that yields allowed pre-shared key exchange modes for TLS 1.3. Inherited from SslSettings.

GetSignatureSchemes()

Returns an enumerator that yields allowed signature schemes in order of preference. Inherited from SslSettings.

GetSymmetricCipherSuites()

Gets an enumeration of allowed symmetric cipher suites for TLS 1.3 and their order. See SetSymmetricCipherSuites(TlsSymmetricCipherSuite[]) for more info. Inherited from SslSettings.

SetNamedGroups(TlsNamedGroup[])

Sets allowed named groups, in order of preference, for TLS 1.3. Inherited from SslSettings.

SetPreferredSuites(TlsCipherSuite[])

Sets TLS cipher suites to be used in preference to the remaining suites specified by SslAllowedSuites. Only applies to TLS 1.2 or earlier. For TLS 1.3, use SetSymmetricCipherSuites(TlsSymmetricCipherSuite[]) method. Inherited from SslSettings.

SetPskKeyExchangeModes(TlsPskKeyExchangeMode[])

Sets allowed pre-shared key exchange modes for TLS 1.3. Inherited from SslSettings.

SetSignatureSchemes(TlsSignatureScheme[])

Sets allowed signature schemes in order of preference. Inherited from SslSettings.

SetSymmetricCipherSuites(TlsSymmetricCipherSuite[])

Specifies a list of allowed symmetric cipher suites for TLS 1.3 and their order. For TLS 1.2 and lower, use SslAllowedSuites property instead. Inherited from SslSettings.

ToParameters()

Gets an instance of TlsParameters corresponding to these settings. Inherited from SslSettings.

In This Article
  • Constructors
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies