nodemailer start an SMTP server error

Hi!

I’ve tried to start an SMTP server using nodemailer and the package smtp-server (that nodemailer is using). I’m using the CRAM-MD5 auth method and I just followed the official tutorial while making this server. when I try to connect to the server, I get the following error:

TypeError: this._socket.write is not a function at SMTPConnection._sendCommand

Have any of you seen this error or/and knows how to fix it?

thanks!

submitted by /u/hillel800
[link] [comments]


Go to Source of this post
Author Of this post: /u/hillel800
Title Of post: nodemailer start an SMTP server error
Author Link: {authorlink}