You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: update mail sending functionality to support multiple recipient address sources
- Refactored MailSendService and MailSendController to handle multiple recipient address sources, allowing for sending emails to both principal and personnel addresses.
- Updated MailSendManyDto to accept an array of recipient address sources, enhancing flexibility in email delivery.
- Modified frontend components to support selection of multiple recipient addresses, improving user experience in the mail template modal.
- Implemented utility functions for normalizing and collecting recipient emails, ensuring robust email handling.
@ApiProperty({description: 'Ids des identities destinataires'})
@@ -23,11 +23,14 @@ export class MailSendManyDto {
23
23
24
24
@ApiProperty({
25
25
required: false,
26
+
isArray: true,
26
27
enum: ['principal','personnel'],
27
28
description:
28
-
'Si renseigné, adresse destinataire lue via le chemin JSON SMTP (e-mail principal ou e-mail personnel). Sinon, politique de mot de passe (emailAttribute).',
29
+
'Adresses destinataires via les chemins JSON SMTP (e-mail principal et/ou personnel). Plusieurs valeurs = envoi aux deux adresses lorsqu’elles existent.',
0 commit comments