You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by wguerram April 15, 2024
Hello, I created a class to send emails, I instantiante this class when the application starts. My assumption is that the instance will keep the transport open but sometimes I get the error Cannot send message - smtp connection socket is already destroyed.
I'm using ElysiaJS, so I don't know if I'm doing it wrong. I'm using pooling config in Nodemailer.
I run this in my entry file
/**
* Connect to Mail
*/
initializeMail().catch((error) => {
console.error('Failed to connect to mail: ' + error.message);
});
Discussed in #10277
Originally posted by wguerram April 15, 2024
Hello, I created a class to send emails, I instantiante this class when the application starts. My assumption is that the instance will keep the transport open but sometimes I get the error Cannot send message - smtp connection socket is already destroyed.
I'm using ElysiaJS, so I don't know if I'm doing it wrong. I'm using pooling config in Nodemailer.
I run this in my entry file
My initialize code in a separate file:
The class below:
The text was updated successfully, but these errors were encountered: