Click or drag to resize

INewSmtp Interface

Represents SMTP connection configuration.

Namespace:  Limilabs.Mail.Fluent
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public interface INewSmtp

The INewSmtp type exposes the following members.

Methods
  NameDescription
Public methodOnPort
Sets the port on which connection will be made.
Public methodSend
Sends the message.
Public methodServer
Sets host name. IP address can also be used. You can use OnPort(Int32) method to specify non default port.
Public methodWithCredentials
Sets the SMTP server credentials.
Public methodWithSSL
Instructs to use secure SSL/TLS connection. Changes port to default SSL/TLS port (465) for SMTP protocol.
Public methodWithSSL(ServerCertificateValidateEventHandler)
Instructs to use secure SSL/TLS connection. Changes port to default SSL/TLS port (465) for SMTP protocol.
Top
See Also