fix(mail): send verification + reset emails as multipart/alternative #87
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/email-spam-multipart"
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?
Summary
Mailer::send; Gmail/Outlook routinely flag plaintext transactional mail with a bare URL as spam, while the login-alert and digest emails (Mailer::send_multipart) land in the inbox.server/templates/email/(matching the login-alert + digest layout), expose typed structs in a newviews::email_authmodule, and switch both dispatch paths tosend_multipartso every outbound user email goes through the same multipart code path.Test plan
multipart/alternativeand lands in Inbox, not Spam./forgotfor a known address; confirm the reset email ismultipart/alternativeand not in Spam.just checkclean.