Closed suntong closed 11 months ago
Hi.
I'm with you.
Currently I'm busy, but If you need this ASAP please send a PR, I will review it.
Thanks.
Currently I'm busy, but If you need this ASAP please send a PR, I will review it.
Closing for the same reason as in #91.
Please consider adding/allowing passing a single string to To/CC. Currently there is an extra check preventing it:
Mail Error: mail: expected single address, got ",a2@gmail.com"; Header: [To] Address: [a1@gmail.com,a2@gmail.com]
Reason being:
To:
" header to something like"Alice <alice@example.com>, Bob <bob@example.com>, Eve <eve@example.com>"
in plain email, so such extra checking is too restrictive.AddTo
to do that, whereas the common sense/practice is to change data, not to change code, when covering different cases.