mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[PR #1229] [MERGED] Email fixes #2921
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#2921
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/1229
Author: @BlackDex
Created: 11/18/2020
Status: ✅ Merged
Merged: 11/18/2020
Merged by: @dani-garcia
Base:
master← Head:email-fixes📝 Commits (3)
58a9285Updated admin settings page.3fed323Fixed plain/text email format6faaeaaUpdated email processing.📊 Changes
20 files changed (+237 additions, -148 deletions)
View changed files
📝
.env.template(+19 -3)📝
Cargo.lock(+42 -30)📝
Cargo.toml(+1 -1)📝
src/config.rs(+18 -12)📝
src/mail.rs(+22 -9)📝
src/main.rs(+10 -0)📝
src/static/templates/admin/settings.hbs(+41 -6)📝
src/static/templates/email/change_email.hbs(+6 -4)📝
src/static/templates/email/delete_account.hbs(+8 -10)📝
src/static/templates/email/invite_accepted.hbs(+5 -6)📝
src/static/templates/email/invite_confirmed.hbs(+5 -6)📝
src/static/templates/email/new_device_logged_in.hbs(+8 -10)📝
src/static/templates/email/pw_hint_none.hbs(+4 -1)📝
src/static/templates/email/pw_hint_some.hbs(+6 -3)📝
src/static/templates/email/send_org_invite.hbs(+10 -10)📝
src/static/templates/email/smtp_test.hbs(+6 -6)📝
src/static/templates/email/twofactor_email.hbs(+5 -6)📝
src/static/templates/email/verify_email.hbs(+7 -9)📝
src/static/templates/email/welcome.hbs(+6 -6)📝
src/static/templates/email/welcome_must_verify.hbs(+8 -10)📄 Description
Updated email processing.
Fixed plain/text email format
plain/text emails should not contain html elements like
etc..
This triggers some spamfilters and increases the spam score.
Also added the github link into the text only emails since this also triggers spamfilters to increase the score since the url/link count is different between the multipart messages.
Tested by using https://www.mail-tester.com/ to validate the spamscore. (Including the missing Message-ID Header mentioned above)
Updated admin settings page.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.