smtp-server
smtp-server copied to clipboard
Mailparser flowed with Content-Transfer-Encoding base64 not working
Here is the test:
'Base64 flowed': test => {
let encodedText = 'Content-type: text/plain; format=flowed; charset=utf-8\r\nContent-Transfer-Encoding: bAse64\r\n\r\nw5XDhMOWw5w=',
mail = Buffer.from(encodedText, 'utf-8');
let mailparser = new MailParser();
mailparser.end(mail);
mailparser.on('data', () => false);
mailparser.on('end', () => {
test.equal(mailparser.text, 'ÕÄÖÜ');
test.done();
});
}
Any update to this issue?