IP in header when send from browser

Continuing the discussion from Why my PC's Public IP Address is shown in the received emails:

We should add this into the sending chapter, unless it’s a bug which will be fixed

I resolve it
in
class.phplistmailer.php before class PHPlistMailer extends PHPMailer
insert
$_SERVER[‘SERVER_NAME’] = “your IP mail server”;
$_SERVER[‘REMOTE_ADDR’] = “your IP mail server”;