Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMTP / email setup? #14

Open
maneeshsethi opened this issue Mar 15, 2021 · 2 comments
Open

SMTP / email setup? #14

maneeshsethi opened this issue Mar 15, 2021 · 2 comments

Comments

@maneeshsethi
Copy link

Hi there, great project.

No emails seem to send via smtp. I can't see logs for them either.

How do I configure the SMTP server for this project?

@bryanjhv
Copy link
Contributor

bryanjhv commented Mar 29, 2021

https://github.com/dani-garcia/bitwarden_rs/wiki/SMTP-configuration

Included here, adapted for Heroku usage. Change parameters according to your use case.

set HEROKU_APP=<yourappname>  # windows
export HEROKU_APP=<yourappname> # linux/mac
heroku config:set SMTP_HOST=<smtp.domain.tld> SMTP_FROM=<bitwarden@domain.tld> SMTP_PORT=587 SMTP_SSL=true SMTP_USERNAME=<username> SMTP_PASSWORD=<password>
heroku ps:restart

@davidjameshowell
Copy link
Owner

a99870b

I did just start work on this. I have my own (Mailgun) instance outside since this is used for replication, so I added flags for both internal (within Heroku) and external (outside of Heroku addons) for mail server configurations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants