node-sendmail icon indicating copy to clipboard operation
node-sendmail copied to clipboard

Prevent multiple calls to callback

Open SergeS opened this issue 6 years ago • 0 comments

Description

Ensure that callback is called only once at the end

Motivation and Context

When emails are from different domains, ensure that callback is called after all of the emails are sent

How Has This Been Tested?

Just try send email to two different domains (Expected - callback is called when all emails are sent)

Types of changes

Bug fix (Do not return response from sending - is it really necessary ?)

Checklist:

  • [X] My code follows the code style of this project.
  • [X] I have read the CONTRIBUTING document.

SergeS avatar Mar 24 '20 11:03 SergeS