Comment 2 for bug 372800

Revision history for this message
Amit Saha (amitksaha) wrote : Re: Wrong behavior of SMTP authentication when port is specified

RFC:

Instead of AuthenticationConfig.get_user()/get_password() taking port as a explicit parameter, it can be made a part of the host itself. This will require modifications in AuthenticationConfi.get_user()/get_pass() and AuthenticationConfig.get_credentials(), I guess. The host name itself could be parsed for the port number if specified, else the default will be taken. I also think it will affect just the two files - config.py and smtp_authentication.py.