fixed monkey patch

If somebody uses the wrong port (POP3) it will be raised as an error