PHPMailer/PHPMailer — pull request #159 by davidsickmiller (2013-12-30 18:01:32+00:00)
Title: Since $_SERVER['SERVER_NAME'] is not available under CLI, also use getho...

...stname()