some more get_hostname to getHostName changes

This commit is contained in:
Tobias Diekershoff 2018-10-11 13:24:39 +02:00
parent 574bf66564
commit 3f6239bb2b
8 changed files with 10 additions and 10 deletions

View file

@ -91,7 +91,7 @@ function mailstream_addon_admin_post ($a) {
function mailstream_generate_id($a, $uri) {
// http://www.jwz.org/doc/mid.html
$host = $a->get_hostname();
$host = $a->getHostName();
$resource = hash('md5', $uri);
$message_id = "<" . $resource . "@" . $host . ">";
logger('mailstream: Generated message ID ' . $message_id . ' for URI ' . $uri, LOGGER_DEBUG);