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

V2 #54

Merged
merged 24 commits into from
Sep 20, 2018
Merged

V2 #54

merged 24 commits into from
Sep 20, 2018

Conversation

close2
Copy link
Collaborator

@close2 close2 commented Sep 2, 2018

!PLEASE TEST!

2018-09-03: This is now a release candidate.
Unless a bug is found I will merge this in ~1 week.

    git:
      url: [email protected]:close2/mailer.git
      ref: v2

fixes #2 1MiB attachment took < 1 second on local SMTP server
fixes #32 All parts are UTF8/ base64 encoded.
mostly fixes #35 We use UTF8 when server announces SMTPUTF8. Mail-addresses are not correctly handled yet (see #33 and #34)
fixes #37 all EOLs are replaced with \r\n. I don't know if anything else should be done.
fixes #38 Text headers are base64 encoded if there are unicode characters and SMTPUTF8 is not present.
probably fixes #45 The multiparts use a different structure now.

I don't know of any regression to version 1.*

This will become mailer version 2.

Practically everything has been rewritten.

Comments are welcome!

@kaisellgren I have removed the address validation code, but think it should become its own library.

@close2 close2 mentioned this pull request Sep 2, 2018
@close2 close2 changed the title V2 WIP: V2 Sep 2, 2018
even if smtp server supports SMTPUTF8
The text could for instance contain \r\n...
@close2 close2 changed the title WIP: V2 V2 Sep 20, 2018
@close2 close2 merged commit 8abfad7 into kaisellgren:master Sep 20, 2018
@close2 close2 deleted the v2 branch September 24, 2018 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant