-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2023.4
-
Component/s: Core, Notifications
-
Release Notes Summary:Introducing a new MailService leveraging contributable MailSenders to send MailMessages
-
Release Notes Description:
-
Epic Link:
-
Tags:
-
Upgrade notes:
-
Team:PLATFORM
-
Sprint:nxplatform #95, nxplatform #96, nxplatform #97, nxplatform #98, nxplatform #99
-
Story Points:8
Currently, the code to create a javax.mail.internet.MimeMessage and sending it through javax.mail.Transport#send is done in multiple places in the Nuxeo codebase.
We want to factorize all of this in a single code path. To do that, in the nuxeo-mail module, we want to add:
- a new MailMessage class that will store everything needed to create the MimeMessage
- a new MailService + implementation with a method to send a MailMessage
- the method will juste create a new MimeMessage from the MailMessage and send it through Transport#send.
Doing that will allow us to easily be able to switch the implementation to send an email in a future next step.
Acceptance criteria: everything regarding email sending is working as before, no breaking change.
- causes
-
NXP-32301 Stop NotificationService missconfiguration from clogging test logs
- Resolved