Set the port of mail server.