[GH-ISSUE #362] SMTP Templates not working #210

Closed
opened 2026-03-03 01:26:47 +03:00 by kerem · 1 comment
Owner

Originally created by @FSaunier on GitHub (Jan 23, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/362

With a compiled bitwarden_rs v2.8.0, I am using env variable TEMPLATES_FOLDER=templates and have put a customized version of send_org_invite.hbs into /opt/bitwarden/templates. Both the folder and the file are owned by www-data. However, the default invitation email keeps getting sent. Syslog shows the following error:

bitwarden bitwarden_rs[2371]: Error: Response was a non-Responder Err: Os { code: 2, kind: NotFound, message: "No such file or directory" }.

Originally created by @FSaunier on GitHub (Jan 23, 2019). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/362 With a compiled bitwarden_rs v2.8.0, I am using env variable `TEMPLATES_FOLDER=templates` and have put a customized version of `send_org_invite.hbs` into `/opt/bitwarden/templates`. Both the folder and the file are owned by www-data. However, the default invitation email keeps getting sent. Syslog shows the following error: > bitwarden bitwarden_rs[2371]: Error: Response was a non-`Responder` `Err`: Os { code: 2, kind: NotFound, message: "No such file or directory" }.
kerem closed this issue 2026-03-03 01:26:47 +03:00
Author
Owner

@FSaunier commented on GitHub (Jan 23, 2019):

Just found out that email templates need to be in /opt/bitwarden/templates/email -- now it works.

<!-- gh-comment-id:456807253 --> @FSaunier commented on GitHub (Jan 23, 2019): Just found out that email templates need to be in `/opt/bitwarden/templates/email` -- now it works.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#210
No description provided.