Update class.phpmailer.php

Function "gethostname" unavailable before PHP 5.3, if function is not defined, use of php_uname('n').