def validate_port(port):
     if not port:
         return False
     port = port.strip()
     if port.isdigit() and int(port) > 0 and int(port) < 65536:
         return port
     return False
Override init to make SMTP-settings check
dataset/ETHPy150Open securitykiss-com/rfw/rfw/iputil.py/validate_port--crossover with--dataset/ETHPy150Open MA3STR0/kimsufi-crawler/notifiers/email_notifier.py/EmailNotifier.__init__