michield/phplist — pull request #24 by liayn (2014-05-24 18:02:13+00:00)
Title: Avoid localhost.localdomain in Message-ID of mails

When sending mails via CLI the message-id of the mails contains '@localhost.localdomain'.
It would be much better to have the real domain in there.

We have to set this via the Hostname option of PHPMailer.
If this is not set, PHPMailer evaluates SERVER_NAME and then falls back to localhost.localdomain.