Follow-up to #2850498: Let analyzers use first From address
Problem/Motivation
From
email header field is not strictly limited to only one address .
RFC 6854: https://tools.ietf.org/html/rfc6854#section-2.1
If the from field contains more than one mailbox
specification (including all mailboxes included in any groups), then
the sender field, containing the field name "Sender" and a single
address, MUST appear in the message.
Proposed resolution
Based on the above, we should implement support for multiple From
addresses. This change will affect Drupal\mailhandler\Plugin\inmail\Analyzer\PGPAnalyzer
and Drupal\mailhandler\Plugin\inmail\Analyzer\SenderAnalyzer
.
Comments