Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Encode the Cc: header correctly #29

Copy link
Copy link
@dscho

Description

@dscho
Issue body actions

In gitgitgadget/git#20, GitGitGadget claimed to have sent the mails, but they were returned to sender because AEvar's name requires special encoding. In particular, the header should look like this:

Cc: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason <avarab@gmail.com>

(see e.g. https://public-inbox.org/git/20180816224138.GA15490@sigill.intra.peff.net/raw for an example)

I was under the assumption that https://github.com/nodemailer/nodemailer/blob/ed3dc4d7b8e0ad3737fa2badfe658f5a36329934/lib/mime-node/index.js#L811 would convert things correctly, but I guess that does not take care of the raw mbox.

And now I am unsure whether I can use that encoded Cc: header in the mbox, lest nodemailer does not handle that correctly when I pass such an encoded string in the cc array.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.