diff --git a/app/scodoc/sco_formsemestre_inscriptions.py b/app/scodoc/sco_formsemestre_inscriptions.py
index 814e887a60a1003bd33c28bf1ad0e1b519af6e30..599d1a8274f346a55940e1d2bfdf4723b7fdb940 100644
--- a/app/scodoc/sco_formsemestre_inscriptions.py
+++ b/app/scodoc/sco_formsemestre_inscriptions.py
@@ -150,6 +150,7 @@ def do_formsemestre_demission(
             formsemestre_id=formsemestre.id if formsemestre else None
         )
         destination = prefs["emails_notifications"] or ""
+        str_mail_send = ""
         if (destination == ""):
             str_mail_send = "aucune adresse mail disponible pour notifier les opérations dans le paramétrage"
         else :