EC-Nordbund / denomailer

A SMTP-Client implementation for deno (to send mails!)
https://deno.land/x/denomailer
MIT License
52 stars 17 forks source link

base64 and binary attachments should be send in a binary encoding #30

Open mathe42 opened 2 years ago

mathe42 commented 2 years ago

This was the first implementation but because of a lack of knowlage it was buggy.

We have to use BINARYMIME see https://stackoverflow.com/a/28531705 https://datatracker.ietf.org/doc/html/rfc3030 for more info.

Note: As I'm currently quite busy I have no time to implement this so feel free to create a PR.

Why?

With base64 we encode 6Bit as 8Bit so we have 33% bigger E-Mails this is not optimal (with small attachments it is ok but larger ones are too large).