| 18 | | The attach_alternative does not support taking a MimePart as content. It requires a content-type, and if this is text, in _add_bodies(), it calls add_alternative with a charset parameter, and fails as the charset argument is not supported by the content manager when inserting a MimePart. |
| 19 | | |
| 20 | | When passing something else as content type, it convert the whole MimePart into base64 and insert it unstructured. |
| | 18 | The attach_alternative() method does not support taking a MimePart as content parameter. It requires a content-type. |
| | 19 | If the content-type is text, in _add_bodies(), it calls add_alternative() with a charset parameter, and fails as the charset argument is not supported by the content manager when inserting a MimePart. |
| | 20 | If the content-type is something else, _add_bodies() converts the whole MimePart into base64 and insert it unstructured. |