Good morning,
I get an exception Address in mailbox given [] does not comply with RFC 2822, 3.6.2.
when I test my contact form. The email address complies definitely RFC.
exceptions log says
Exception in line 261 of /var/www/html/vendor/Packages/Libraries/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php: Address in mailbox given [] does not comply with RFC 2822, 3.6.2.
Obvously these function causes the error:
private function _assertValidAddress($address)
{
if (!preg_match('/^'.$this->getGrammar()->getDefinition('addr-spec').'$/D',
$address)) {
throw new Swift_RfcComplianceException(
'Address in mailbox given ['.$address.
'] does not comply with RFC 2822, 3.6.2.'
);
}
}
EDIT: Error was, that I didn’t took into account, that I changed the identifier-name of one of the renderables. I had to change the name in the options of my custom finisher, too, of course