If any E-Mail field (carbonCopy, blindCarbonCopy, replyToAddress) are deleted from the inspector, they are passed to the EMailAciton.php as empty strings, since they arent null an Error is thrown here:
if ($replyToAddress !== null) {
$mail->addReplyTo(new Address($replyToAddress));
}
if ($carbonCopyAddress !== null) {
$mail->addCc(new Address($carbonCopyAddress));
}
if ($blindCarbonCopyAddress !== null) {
$mail->addBcc(new Address($blindCarbonCopyAddress));
}
If any E-Mail field (carbonCopy, blindCarbonCopy, replyToAddress) are deleted from the inspector, they are passed to the EMailAciton.php as empty strings, since they arent null an Error is thrown here: