@@ 97-99 (lines=3) @@ | ||
94 | foreach ($headers as $header) { |
|
95 | ||
96 | // Omit headers which are handled elsewhere. |
|
97 | if (in_array($fieldName = $header->getFieldName(), ['Subject', 'Content-Type', 'MIME-Version', 'Date', 'From', 'To'])) { |
|
98 | continue; |
|
99 | } |
|
100 | ||
101 | if ($header instanceof \Swift_Mime_Headers_UnstructuredHeader || $header instanceof \Swift_Mime_Headers_OpenDKIMHeader) { |
|
102 |
@@ 99-101 (lines=3) @@ | ||
96 | foreach ($headers as $header) { |
|
97 | ||
98 | // Omit headers which are handled elsewhere. |
|
99 | if (in_array($fieldName = $header->getFieldName(), ['Subject', 'Content-Type', 'MIME-Version', 'Date', 'From', 'To'])) { |
|
100 | continue; |
|
101 | } |
|
102 | ||
103 | if ($header instanceof \Swift_Mime_Headers_UnstructuredHeader || $header instanceof \Swift_Mime_Headers_OpenDKIMHeader) { |
|
104 | $payload['Headers'][] = [ |