xpepermint / smtp-client

Simple, promisified, protocol-based SMTP client for Node.js.
36 stars 13 forks source link

Technically SMTP extensions are case-insensitive #16

Open ARitz-Cracker opened 3 years ago

ARitz-Cracker commented 3 years ago

As stated in RFC5321

Although EHLO keywords may be specified in upper, lower, or mixed case, they MUST always be recognized and processed in a case-insensitive manner.

No observed SMTP server seems to list its extensions in lowercase, but it's still something to consider to ensure maximum compliance

xpepermint commented 3 years ago

PR?

ARitz-Cracker commented 3 years ago

Soon™ as I personally don't consider this critical. I'll leave this issue open as a reminder to myself, though anyone's invited to implement the patch.