Closed dannymatkovsky closed 3 years ago
@ScottAgirs fixed and tested.
But one more bug seems to be found. If you'll add Cc
(as well Bcc
and Attachments
) field to your message, you'll get msg
object of following structure:
{
Messages: [
{
From: ...
To: ...
...
}
],
Cc: ...,
Bcc: ...
}
Hey @burlakko thanks for the commits and sorry for the delay, I think we're good to merge, the last thing, though - it looks like your ESLint/Prettier settings are reformatting things - please revert those changes, then merging in! :)
Hi @ScottAgirs! Sorry for the delay. Can you please provide your eslint config file, so i could apply desired code formatting? Also maybe it's a good idea to have it inside of project?
@burlakko thanks for the PR, and you make a good point. I think the Linting issue is ok for now, we will be adding linting config to the project as you suggested! :)
Cheers!
Fixes problem of potential mismatch of receiver's email address and name as described here. Also adds support of email only arrays (
['email1@..., email2@...]
) and enables throwing 'empty to' error only if bothto
anddefaultTo
are not set.