Fixed inability to connect to SMTP servers that don't use default port