xpepermint / smtp-client

Simple, promisified, protocol-based SMTP client for Node.js.
36 stars 13 forks source link

Add promise.reject when both EHLO and HELO don't work #32

Closed bqrkhn closed 11 months ago

bqrkhn commented 11 months ago

When both EHLO and HELO don't work, the promise is not rejected which leads to uncaught errors. This PR aims to fix this.