SimplyStaking / panic_cosmos

🚨 PANIC for Cosmos
GNU General Public License v3.0
47 stars 33 forks source link

SMTP Authentication #2

Closed yn-alex closed 5 years ago

yn-alex commented 5 years ago

I could not find a way to enable SMTP Authentication. Is it supported?

It would be nice to have this feature available. Many hosting providers require SMTP authentication for sending email through their servers. This way it would be easier to setup email alerts.

migueldingli1997 commented 5 years ago

Hi @yn-alex, this is currently not supported. The following steps should be enough to implement it:

  1. Add optional username and password arguments to email sending util, and using these to login to the SMTP server.
  2. Add username and password to user configuration, including the setup process, so that the node operator has a way of setting these up.

Thank you for the suggestion.

migueldingli1997 commented 5 years ago

@yn-alex You can try out the code in miguel/issue#2, which has an update to include a username and password in the config for SMTP authentication.