Skip to content

Commit

Permalink
Drop double reply to
Browse files Browse the repository at this point in the history
  • Loading branch information
ymollard committed Oct 17, 2024
1 parent a9052fb commit e90e349
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions htdocs/comm/mailing/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -1031,21 +1031,6 @@

print '</td></tr>';

// Reply to
print '<tr><td>';
print $form->editfieldkey("MailReply", 'email_replyto', $object->email_replyto, $object, $user->hasRight('mailing', 'creer') && $object->statut < 3, 'string');
print '</td><td>';
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 '</td></tr>';

// Errors to
if ($object->messtype != 'sms') {
print '<tr><td>';
Expand Down

0 comments on commit e90e349

Please sign in to comment.