'Declaration
Public Sub SetEmailServer( _ ByVal emailServer As String, _ ByVal serverPort As Integer, _ ByVal useSsl As Boolean, _ ByVal emailServerUser As String, _ ByVal emailServerPassword As String _ )
public void SetEmailServer( string emailServer, int serverPort, bool useSsl, string emailServerUser, string emailServerPassword )
Parameters
- emailServer
- The full DNS name of the SMTP server to use to relay the mail message.
- serverPort
- Optional. The TCP/IP Port number to connect to the server on. Use 0 for the default configured port.
- useSsl
- True to encrypt the server communication with Secure Sockets Layer.
- emailServerUser
- Optional. A user name to use instead of the current windows user credentials to communicate with the email server.
- emailServerPassword
- Optional. A password to use for the user name for credentials to communicate with the email server.