--- adminstuds.php	2022-02-05 09:09:45.256310389 +0100
+++ adminstuds.php-new	2022-02-05 08:49:40.952269857 +0100
@@ -84,6 +84,12 @@
 	$message = new Message('success', __('adminstuds', 'The poll is created.'));
 }
 
+$messageBadEmail = $sessionService->get("Framadate", "messageBadEmail", FALSE);
+if ($messageBadEmail) {
+    $sessionService->remove("Framadate", "messageBadEmail");
+    $message = new Message('danger', __('adminstuds', "Bad e-mail. Can't send links"));
+}
+
 // -------------------------------
 // Update poll info
 // -------------------------------
