Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
My from line contains quotes and a backslash in the format "[site-name]/"". I was able to correct the problem by hard coding the value in line 208. I haven't had a chance to try to correct the regex.
Line 206-208:
preg_match('/["\']?(.*)["\']? <(.*)>/', $message['headers']['From'], $matches);
if (!empty($matches[1])) {
$from['name'] = $matches[1];