22 $email = $event->getValue();
32 $email->addHeader(
'Message-ID',
"{$url_path}.default.{$mt}@{$hostname}");
Sets the message-id header for emails.
elgg_get_site_url()
Get the URL for the current (or specified) site, ending with "/".
__invoke(\Elgg\Event $event)
Adds default Message-ID header to all e-mails.
Models an event passed to event handlers.