Skip to content

BUG: EmailAction doesnt check for empty string #106

@Devclaim

Description

@Devclaim

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));
      }

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions