From a3851a9ea14a3a8e37de92ca87a783b08431ec57 Mon Sep 17 00:00:00 2001 From: SamuelQuetin Date: Thu, 24 Oct 2024 10:16:54 +0200 Subject: [PATCH] Modif config mail v2 --- src/main/java/fr/abes/logskbart/service/EmailService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/fr/abes/logskbart/service/EmailService.java b/src/main/java/fr/abes/logskbart/service/EmailService.java index e4354ba..1d27db5 100644 --- a/src/main/java/fr/abes/logskbart/service/EmailService.java +++ b/src/main/java/fr/abes/logskbart/service/EmailService.java @@ -68,7 +68,7 @@ public void sendMailWithAttachment(String packageName, Path mailAttachmentPath) protected void sendMailWithFile(String requestJson, File f) { // Création du l'adresse du ws d'envoi de mails - HttpPost uploadFile = new HttpPost(this.url + "htmlMailAttachment/"); + HttpPost uploadFile = new HttpPost(this.url + "v2/htmlMailAttachment/"); // Création du builder MultipartEntityBuilder builder = MultipartEntityBuilder.create();