Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer plaintext over html of all the mail multiparts #2

Merged
merged 3 commits into from Jan 26, 2015

Conversation

HoverHell
Copy link
Contributor

Configurable.

I had my suspicions, but only found examples today: sometimes, the text/plain part of the message is worse (less useful/informative/readable) than html2text'd version of the html part of the message. The example I found has the text/plain part contain the same html as the html part, except it, of course, doesn't get processed with html2text.

HoverHell referenced this pull request in HoverHell/mail-transport Dec 24, 2014
@HoverHell
Copy link
Contributor Author

I've found another problem: the last part of a multipart message was ignored.

A bunch of tweaking and cleaning and stuff after, this is okay to merge now.

I'm planning on making an IMAP(+IDLE)&SSMTP version of this transport later (and maybe a jabber-bot option) so it requires less infrastructure to use.

normanr added a commit that referenced this pull request Jan 26, 2015
html2text, logging, multipart processing fix
@normanr normanr merged commit 1a8800d into xmpppy:master Jan 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants