From e90e349a0663f3b2d65631f692a3f3fa0f4ff7f9 Mon Sep 17 00:00:00 2001 From: Yoan Mollard Date: Fri, 18 Oct 2024 00:59:56 +0200 Subject: [PATCH] Drop double reply to --- htdocs/comm/mailing/card.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/htdocs/comm/mailing/card.php b/htdocs/comm/mailing/card.php index b499c9259e926..06e29f6a17b98 100644 --- a/htdocs/comm/mailing/card.php +++ b/htdocs/comm/mailing/card.php @@ -1031,21 +1031,6 @@ print ''; - // Reply to - print ''; - print $form->editfieldkey("MailReply", 'email_replyto', $object->email_replyto, $object, $user->hasRight('mailing', 'creer') && $object->statut < 3, 'string'); - print ''; - print $form->editfieldval("MailReply", 'email_replyto', $object->email_replyto, $object, $user->hasRight('mailing', 'creer') && $object->statut < 3, 'string'); - $email = CMailFile::getValidAddress($object->email_replyto, 2); - if ($email && !isValidEmail($email)) { - $langs->load("errors"); - print img_warning($langs->trans("ErrorBadEMail", $email)); - } elseif ($email && !isValidMailDomain($email)) { - $langs->load("errors"); - print img_warning($langs->trans("ErrorBadMXDomain", $email)); - } - print ''; - // Errors to if ($object->messtype != 'sms') { print '';