mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2025-10-27 13:35:16 +07:00
update dependencies
This commit is contained in:
4
node_modules/nodemailer/lib/smtp-pool/index.js
generated
vendored
4
node_modules/nodemailer/lib/smtp-pool/index.js
generated
vendored
@ -420,7 +420,7 @@ class SMTPPool extends EventEmitter {
|
||||
return true;
|
||||
}
|
||||
|
||||
return queueEntry.requeueAttempts && queueEntry.requeueAttempts < this.options.maxRequeues;
|
||||
return queueEntry.requeueAttempts < this.options.maxRequeues;
|
||||
}
|
||||
|
||||
_failDeliveryOnConnectionClose(connection) {
|
||||
@ -613,7 +613,7 @@ class SMTPPool extends EventEmitter {
|
||||
return;
|
||||
}
|
||||
|
||||
if (auth && connection.allowsAuth) {
|
||||
if (auth && (connection.allowsAuth || options.forceAuth)) {
|
||||
connection.login(auth, err => {
|
||||
if (returned) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user