1. 25 Tem, 2018 1 kayıt (commit)
    • chason's avatar
      bpo-32663 Make SMTPUTF8SimTests run (#5314) · 48ed88a9
      chason yazdı
      Enable and fix SMTPUTF8SimTests in test_smtplib.
      
      The tests for SMTPUTF8SimTests in test_smtplib.py were not actually
      being run because test_smtplib was still using the 'test_main' pattern,
      and the class was never added to test_main.
      
      Additionally, one of the tests needed to be moved to the non-UTF8 server
      class because it relies on the server not being UTF-8 compatible (and it
      had a bug in in).
      48ed88a9
  2. 31 Ock, 2018 1 kayıt (commit)
  3. 14 Eyl, 2017 1 kayıt (commit)
  4. 09 Eyl, 2017 1 kayıt (commit)
  5. 07 Eyl, 2017 1 kayıt (commit)
  6. 08 Kas, 2015 1 kayıt (commit)
    • R David Murray's avatar
      #25446: Fix regression in smtplib's AUTH LOGIN support. · b0deeb47
      R David Murray yazdı
      The auth method tests simply weren't adequate because of the fact that
      smtpd doesn't support authentication.  I borrowed some of Milan's
      code for that from issue #21935 and added it to the smtplib tests.
      Also discovered that the direct test for the 'auth' method wasn't actually
      testing anything and fixed it.
      
      The fix makes the new authobject mechanism work the way it is
      documented...the problem was that wasn't checking for a 334 return code
      if an initial-response was provided, which works fine for auth plain
      and cram-md5, but not for auth login.
      b0deeb47
  7. 09 Tem, 2015 1 kayıt (commit)
  8. 17 May, 2015 1 kayıt (commit)
  9. 16 May, 2015 1 kayıt (commit)
  10. 16 Nis, 2015 1 kayıt (commit)
  11. 30 Agu, 2014 1 kayıt (commit)
    • R David Murray's avatar
      #22215: have the smtplib 'quit' command reset the state. · 0cff49fc
      R David Murray yazdı
      Without this reset, starttls would fail if a connect/starttls was done after a
      quit, because smtplib assumed the existing value of emspt_features was
      accurate, but it gets reset when starttls completes (and the new value does
      not contain the starttls capability, since tls is already started at that
      point).  (There may be additional places where this lack of reset was an
      issue as well.)
      
      Patch by Milan Oberkirch.
      0cff49fc
  12. 23 Tem, 2014 1 kayıt (commit)
  13. 03 Tem, 2014 1 kayıt (commit)
  14. 11 Haz, 2014 1 kayıt (commit)
  15. 14 Nis, 2014 1 kayıt (commit)
    • R David Murray's avatar
      #17498: Defer SMTPServerDisconnected errors until the next command. · afb151a5
      R David Murray yazdı
      Normally an SMTP server will return an error, and smtplib will then issue an
      RSET to return the connection to the known starting state.  Some servers,
      however, disconnect after issuing certain errors.  When we issue the RSET,
      this would result in raising an SMTPServerDisconnected error, *instead* of
      returning the error code the user of the library was expecting.  This fix
      makes the internal RSET calls ignore the disconnection so that the error code
      is returned.  The user of the library will then get the SMTPServerDisconnected
      error the next time they try to talk to the server.
      
      Patch by Kushal Das.
      afb151a5
  16. 30 Eyl, 2014 1 kayıt (commit)
  17. 10 Şub, 2014 1 kayıt (commit)
  18. 08 Şub, 2014 1 kayıt (commit)
  19. 25 Ock, 2014 1 kayıt (commit)
  20. 11 Kas, 2013 1 kayıt (commit)
  21. 29 Eyl, 2013 1 kayıt (commit)
  22. 21 Mar, 2013 4 kayıt (commit)
  23. 25 Ara, 2012 1 kayıt (commit)
  24. 18 Ara, 2012 1 kayıt (commit)
  25. 17 Ara, 2012 1 kayıt (commit)
  26. 26 May, 2012 1 kayıt (commit)
    • R David Murray's avatar
      #8739: upgrade smtpd to RFC 5321 and 1870. · d1a30c93
      R David Murray yazdı
      smtpd now handles EHLO and has infrastructure for extended smtp command mode.
      The SIZE extension is also implemented.  In order to support parameters on
      MAIL FROM, the RFC 5322 parser from the email package is used to parse the
      address "token".
      
      Logging subclasses things and overrides __init__, so it was necessary to
      update those __init__ functions in the logging tests to make the logging tests
      pass.
      
      The original suggestion and patch were by Alberto Trevino.  Juhana Jauhiainen
      added the --size argument and SIZE parameter support.  Michele Orrù improved
      the patch and added more tests.  Dan Boswell conditionalized various bits of
      code on whether or not we are in HELO or EHLO mode, as well as some other
      improvements and tests.  I finalized the patch and added the address parsing.
      d1a30c93
  27. 29 Mar, 2012 1 kayıt (commit)
  28. 27 Agu, 2011 1 kayıt (commit)
  29. 31 Tem, 2011 1 kayıt (commit)
  30. 30 Tem, 2011 1 kayıt (commit)
  31. 19 Tem, 2011 1 kayıt (commit)
    • R David Murray's avatar
      #7484: no more <> around addresses in VRFY or EXPN · 4634676c
      R David Murray yazdı
      The RFC doesn't say that they are allowed; apparently many mailers accept
      them, but not postfix.  Contributions to this patch were made by Felipe Cruz
      and Catalin Iacob.
      
      The changeset also adds additional indirect tests for quoteaddr (null address
      and IDNA-encoded address).
      4634676c
  32. 03 Tem, 2011 1 kayıt (commit)
  33. 19 Tem, 2011 1 kayıt (commit)
  34. 09 Haz, 2011 1 kayıt (commit)
  35. 02 May, 2011 1 kayıt (commit)
  36. 15 Mar, 2011 1 kayıt (commit)
  37. 01 Ara, 2010 1 kayıt (commit)