Logo
Explore Help
Sign In
phundrak/bakit
1
0
Fork 0
You've already forked bakit
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
ce284260758ea72009f09316fc129291d47bab5e
bakit/src/errors.rs

2 lines
36 B
Rust
Raw Normal View History

feat: send confirmation email to sender When users submit a contact form, they now receive a confirmation email acknowlledging receipt of their message. The backend also continues to send a notification email to the configured recipient. If the backend fails to send the acknowledgement email to the sender, it will assume the email is not valid and will therefore not transmit the contact request to the configured recipient. Changes: - Refactor `send_email()` to `send_emails()` that sends two emails: - Confirmation email from the submitter - Notification email to the configured recipient - Add `From<T>` implementations of various errors for new error type `ContactError`. - Errors now return a translation identifier for the frontend.
2025-11-15 14:08:37 +01:00
pub use crate::route::ContactError;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 216ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API