Skip to content

Commit

Permalink
Envoi mail en double en cas d'erreur
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-chmbn committed Aug 31, 2023
1 parent fcb6779 commit e648973
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ public static String sendMail(String wsMailURL, List to, String mailTheses, Stri
}, subject, MailTemplates.mailSignalerErreur(domaine, url, nom, prenom, mail, objet, question, appSource));

//mail d'erreur
String subject = "[thesesFr] -- Erreur d’adressage de l’assistance déportée theses.fr";
String subjectErr = "[thesesFr] -- Erreur d’adressage de l’assistance déportée theses.fr";
mailJSON = new MailJSON(new ArrayList<>() {{
add(mailTheses);
}}, new ArrayList<>() {
}, new ArrayList<>() {
}, subject, MailTemplates.mailSignalerErreurNoRecipient(domaine, url, nom, prenom, mail, objet, question, appSource));
}, subjectErr, MailTemplates.mailSignalerErreurNoRecipient(domaine, url, nom, prenom, mail, objet, question, appSource));
}


Expand Down

0 comments on commit e648973

Please sign in to comment.