open fun setPort(port: Int): Unit
Set the mail server port.
Default is #DEFAULT_PORT, letting JavaMail use the default SMTP port (25).
#DEFAULT_PORT