mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2025-07-24 23:59:07 +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;
|
||||
|
2
node_modules/nodemailer/lib/smtp-pool/pool-resource.js
generated
vendored
2
node_modules/nodemailer/lib/smtp-pool/pool-resource.js
generated
vendored
@ -137,7 +137,7 @@ class PoolResource extends EventEmitter {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.auth && this.connection.allowsAuth) {
|
||||
if (this.auth && (this.connection.allowsAuth || options.forceAuth)) {
|
||||
this.connection.login(this.auth, err => {
|
||||
if (returned) {
|
||||
return;
|
||||
|
4
node_modules/nodemailer/lib/smtp-transport/index.js
generated
vendored
4
node_modules/nodemailer/lib/smtp-transport/index.js
generated
vendored
@ -267,7 +267,7 @@ class SMTPTransport extends EventEmitter {
|
||||
|
||||
let auth = this.getAuth(mail.data.auth);
|
||||
|
||||
if (auth && connection.allowsAuth) {
|
||||
if (auth && (connection.allowsAuth || options.forceAuth)) {
|
||||
connection.login(auth, err => {
|
||||
if (auth && auth !== this.auth && auth.oauth2) {
|
||||
auth.oauth2.removeAllListeners();
|
||||
@ -370,7 +370,7 @@ class SMTPTransport extends EventEmitter {
|
||||
|
||||
let authData = this.getAuth({});
|
||||
|
||||
if (authData && connection.allowsAuth) {
|
||||
if (authData && (connection.allowsAuth || options.forceAuth)) {
|
||||
connection.login(authData, err => {
|
||||
if (returned) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user