Connecting to SMTP Server
Contents[ Hide ]
Connecting SSL Enabled SMTP Server
The following properties need to be set when connecting with an SMTP server with SSL support.
In the examples below we show how to:
- Set a username.
- Set a password.
- Set the port.
- Set security option.
The following code snippet shows you how to connect SSL enabled SMTP server.