[BUGFIX] Faulty check for missing SMTP port