StackStorm-Exchange / stackstorm-email

E-Mail Actions/Sensors for StackStorm
https://exchange.stackstorm.org/
Apache License 2.0
9 stars 45 forks source link

Username/password in smtp accounts required in config, but optional in code #44

Closed minsis closed 3 years ago

minsis commented 3 years ago

The config load requires that smtp_accounts has a username and a password parameter defined. In code doing a login is optional. Because of this you shouldn't need to specify a username/password unless you actually need one.

https://github.com/StackStorm-Exchange/stackstorm-email/blob/d9508e0e411ee1a41476c2a9cd52836662a431dc/actions/send_email.py#L58-L59