We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f34d7b commit d0470a5Copy full SHA for d0470a5
src/smtp/smtp.ts
@@ -28,7 +28,7 @@ export const checkSMTP = async (
28
socket.emit('fail', 'Mail server closed connection without sending any data.')
29
}
30
})
31
- socket.on('fail', msg => {
+ socket.once('fail', msg => {
32
r(createOutput('smtp', msg))
33
if (socket.writable && !socket.destroyed) {
34
socket.write(`quit\r\n`)
0 commit comments