fleet/server/mail
Eric cd63133770
Dynamically set copyright year in email templates (#16092)
Related to #15758

Changes:
- Updated the copyright year in email templates to be set to the current
year when the email is sent.


Testing steps:
1. Configure a local Fleet instance to send emails to Mailpit
2. Activate SMTP to send a test email.
3. Invite a new user to the Fleet instance.
4. Change the email address of a user.
5. Log out of the Fleet instance and send a password reset email.
6. Go to the Mailpit dashboard and look at the copyright years in the
emails sent by the Fleet instance
2024-01-15 15:28:49 -06:00
..
templates Dynamically set copyright year in email templates (#16092) 2024-01-15 15:28:49 -06:00
invite.go Dynamically set copyright year in email templates (#16092) 2024-01-15 15:28:49 -06:00
mail_test.go 14729 smtp settings validation for TLS (#15029) 2023-11-21 11:48:21 -07:00
mail.go Dynamically set copyright year in email templates (#16092) 2024-01-15 15:28:49 -06:00
ses_test.go Do not return empty SSO and SMTP settings for non-global-admins (#12180) 2023-06-07 16:06:36 -03:00
ses.go Do not return empty SSO and SMTP settings for non-global-admins (#12180) 2023-06-07 16:06:36 -03:00
users.go Dynamically set copyright year in email templates (#16092) 2024-01-15 15:28:49 -06:00