Skip to content
Snippets Groups Projects
  • Yuya Nishihara's avatar
    2bb0ddd8
    tests: add dummy SMTP daemon for SSL tests · 2bb0ddd8
    Yuya Nishihara authored
    Currently it only supports SMTP over SSL since SMTPS should be simpler than
    handling StartTLS.
    
    Since we don't need asynchronous server for our tests, it does TLS handshake
    in blocking way. But asyncore is required by Python smtpd module.
    2bb0ddd8
    History
    tests: add dummy SMTP daemon for SSL tests
    Yuya Nishihara authored
    Currently it only supports SMTP over SSL since SMTPS should be simpler than
    handling StartTLS.
    
    Since we don't need asynchronous server for our tests, it does TLS handshake
    in blocking way. But asyncore is required by Python smtpd module.