INew |
The INewSmtp type exposes the following members.
| Name | Description | |
|---|---|---|
| OnPort | Sets the port on which connection will be made. | |
| Send | Sends the message. | |
| Server | Sets host name. IP address can also be used. You can use OnPort(Int32) method to specify non default port. | |
| WithCredentials | Sets the SMTP server credentials. | |
| WithSSL | Instructs to use secure SSL/TLS connection. Changes port to default SSL/TLS port (465) for SMTP protocol. | |
| WithSSL(ServerCertificateValidateEventHandler) | Instructs to use secure SSL/TLS connection. Changes port to default SSL/TLS port (465) for SMTP protocol. |