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