ReachFive / fake-smtp-server

Fake SMTP Server for email testing
https://www.npmjs.com/package/fake-smtp-server
MIT License
192 stars 81 forks source link

Usage of option --auth #23

Open tobiasbp opened 5 years ago

tobiasbp commented 5 years ago

Hello there.

How is the feature --auth used? What is the syntax?

Documentation says: -a, --auth STRING Enable Authentication

I can startup with --auth USERNAME:PASSWORD, but what does that mean?

EDIT: This seems to control access to the web interface. I was expecting to be able to use SMTP auth. Is that even possible?

jainsahab commented 5 years ago

Hi @tobiasbp , Yes, the current --auth option is to access web interface. Afaik, we don't have any option for SMTP auth as of now.

kbedel commented 4 years ago

@jainsahab, I have created a fork that implements a new --smtpAuth option to support this, as well as new options to choose secure mode and provide a keystore contain a private key to support STARTTLS or secure mode. Would you be interested in a pull request for this?

nickmeessen commented 4 years ago

Hi @kbedel, a PR would be nice if @jainsahab is willing to support it. We'd like to use the --smtpAuth 👍

BitFis commented 3 years ago

Hey, I am in need of that feature aswell, can someone merge this PR?

a13a commented 2 years ago

SMTP auth would be indeed useful