• Gregory P. Smith's avatar
    Fixes (accepts patch) issue1339 - http://bugs.python.org/issue1339 · bde4ae4b
    Gregory P. Smith yazdı
    - Factor out the duplication of EHLO/HELO in login() and sendmail() to
      a new function, ehlo_or_helo_if_needed().
    - Use ehlo_or_helo_if_needed() in starttls()
    - Check for the starttls exception in starttls() in the same way as
      login() checks for the auth extension.
    Contributed by Bill Fenner.
    bde4ae4b
smtplib.rst 13.1 KB