Comments (7)
Should be fixed with 1034ae8 - if the server supported only HELO but not EHLO then all commands were sent twice.
from nodemailer.
You are the fastest bug-fixer ever :)
from nodemailer.
Thanks :)
from nodemailer.
Would this also have caused the callback to return twice, i.e. is the callback only supposed to return once?
from nodemailer.
If the response for an EHLO command was erroneos (server didn't support it) then an additional HELO request was made. As there was a bug then the original "thread" (the EHLO one) didn't stop there and tried to continue anyway regardless of the error. Meanwhile HELO ended with success and started it's own separate command "thread" (actually it's not a thread but a callback chain or smth.), so as a consequence a set of two "threads" were sending matching commands to the same connection and thus fireing the callback function also not once but twice (one from the EHLO and one from the HELO thread).
In short - welcome to the wonderful world of callbacks and events :)
from nodemailer.
I've been in this world for a while.
from nodemailer.
I'm encountering this issue. While trying to debug it I noticed that this merge seems to have removed the fix:
andris9@76ec625
from nodemailer.
Related Issues (20)
- Core dump on OpenBSD after 7.5 upgrade HOT 1
- Missing credentials for "PLAIN" HOT 4
- I having trouble with import nodemailer from 'nodemailer' HOT 6
- s
- Nodemailer - Cannot send message - smtp connection socket is already destroyed. HOT 5
- Emails sent with iCloud email in the 'from' field not reaching the inbox HOT 3
- Hostname/IP does not match certificate's altnames but certification is correct. HOT 4
- connect ETIMEDOUT ERROR HOT 2
- Not Sending Email (Error: Missing credentials for "PLAIN") HOT 6
- What would be the recipe to encrypt the email with sender's certificate HOT 2
- Too long URLs in the List-Unsubscribe header causes the DKIM signature verification to fail HOT 4
- Invalid login: 535-5.7.8 Username and Password not accepted HOT 5
- Nodemailer not working in my ubuntu vps server, but works on localhost (windows) both development and production HOT 1
- Nodemailer is not working in production HOT 2
- Github-Actions closing valid issues HOT 4
- SES Email transport throttling callback HOT 2
- Azure Functions v4 - Authentication Unsuccessful HOT 2
- nodemailer authorisation error due to MFA HOT 3
- UNHANDLED PROMISE REJECTION node js HOT 3
- help UNHANDLED PROMISE REJECTION The promise rejected with the reason "SMTP ERROR => connect ETIMEDOUT 52.101.151.0.25".] { HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodemailer.