WordPress at Your Fingertips
function is not described

fix_phpmailer_messageid() WP 3.0.0

Correct From host on outgoing mail to match the site domain

No Hooks.

Return

null. Nothing.

Usage

fix_phpmailer_messageid( $phpmailer );
$phpmailer(PHPMailer) (required)
The PHPMailer instance (passed by reference).

Changelog

Since 3.0.0 Introduced.

Code of fix_phpmailer_messageid() WP 5.8.2

function fix_phpmailer_messageid( $phpmailer ) {
	$phpmailer->Hostname = get_network()->domain;
}