I'm working on a clients' store, and face a problem with no order confirmations being sent.
The following error is logged in system.log:
[2019-06-11 11:53:04] main.ERROR: Invalid address format [] []
Looking for that error, I see that it is generated here:
Zend\Mail\Address.php
public static function fromString($address, $comment = null)
{
if (! preg_match('/^((?P<name>.*)<(?P<namedEmail>[^>]+)>|(?P<email>.+))$/', $address, $matches)) {
throw new Exception\InvalidArgumentException('Invalid address format');
}
Address used: Firstname Surname Street 1 Village, 4444GH Nederland T: 1234567890 info@modl-design.com
What is the exact issue? Im not the best at reading Regex so looking for the problem is hard in this case.