…64 and quopri encoders, remove custom MIMEBase class in favor of using plain old python Message derivatives, 100% test coverage
…ogic between py3 and py2, only try to divine the charset when the content type is text/*
…e based on the ``filename`` it is passed. Instead, use the filename argument only as something that should go in the Content-Disposition header, and pass a filelike object as ``data``. - Use only last part of filename, not entire path in disposition header.
…gle to_mailbase method
…ons, add a few minor tests
… and they were getting in the way, move necessary code into message.py
everywhere by creating setter and getter methods for body/content-type/disposition/transfer-encoding. In the same spirit, add an attach_part method to MailBase. - The setters for content-type and disposition in MailBase now handle parsing parameters out of headers instead of making that the responsibility of all callers. - Remove dependency on repoze.sendmail.encoding by copying some code (ADDR_HEADERS and best_charset). It was just harder to ping-pong between packages to do debugging of encoding issues than the nonduplication of code was worth.