Smtp, is it possible?

Hello, studying the firezone manual, I unfortunately did not find any mention of setting up sending messages to the mail, in this regard, there is a question, can this service be configured or not yet?

Yep! See the OUTBOUND_EMAIL_* env vars in the docs:

I’ve used this successfully

OUTBOUND_EMAIL_FROM=firezone@example.com
OUTBOUND_EMAIL_PROVIDER=smtp
OUTBOUND_EMAIL_CONFIGS={"smtp":{"relay":"mail.example.com","port": 1025}}
1 Like

thank you very much for your help

Sharing for those who wander how to add authentication
OUTBOUND_EMAIL_CONFIGS={“smtp”:{“relay":“mail.example.com”,“username”:"vpn@example.com”,“password”:“secure-passwor”,“ssl”:“true”,“port”:“465”}}

1 Like

Might be useful to someone.
In the latest version it is necessary to replace variables with OUTBOUND_EMAIL_ADAPTER
OUTBOUND_EMAIL_ADAPTER_OPTS
This option worked for me:
OUTBOUND_EMAIL_ADAPTER=“Elixir.Swoosh.Adapters.SMTP”
OUTBOUND_EMAIL_ADAPTER_OPTS={“relay”: “smtp.example.com”, “port”:465, “username”: “firezone@example.com”, “password”: “change_me”, “ssl”:true, “tls”:false, “auth”: “always”}