Click or drag to resize

INewSmtp Methods

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