ThisIsMissEm / node-smtp-client

[DEPRECATED] An SMTP Client & Server module for Node.js
MIT License
38 stars 6 forks source link

sending an email from your smtp server #1

Closed Marak closed 14 years ago

Marak commented 14 years ago

the documentation is a bit unclear on this, is it possible yet to send an email using node.js-smtp after connecting to an smtp server?

if so could you provide some sample code on how to do this?

ThisIsMissEm commented 14 years ago

No, it currently isn't possible. I've been trying to implement this as an experiment, however, because most mailservers require ssl/tls encryption, I can't make much more progress. It currently handles and formats packets fine, so it's really a matter of getting the setSecure to work and adding in the various packets we need to send and receive.

Marak commented 14 years ago

well in my case the smtp server is only accepting relays from localhost so i don't really care about ssl or anything like that. do you think it would be possible to get this working locally without any security? i only need this module for sending out some simple emails through sendmail for account creation / forgotten password / etc.

ThisIsMissEm commented 14 years ago

yeah, it's really a matter of me getting a chance to setup a server to test it with (my isp like's blocking port 25, which is a big nuisance.)