public function SenderAnalyzer::analyze in Mailhandler 8
File
- src/
Plugin/ inmail/ Analyzer/ SenderAnalyzer.php, line 29
Class
- SenderAnalyzer
- Finds the sender based on "From" mail header field.
Namespace
Drupal\mailhandler\Plugin\inmail\AnalyzerCode
public function analyze(MimeMessageInterface $message, ProcessorResultInterface $processor_result) {
$result = $processor_result
->getAnalyzerResult();
$this
->findSender($message, $result);
}