fix_phpmailer_messageid()

最后更新于:2021-11-26 04:07:46

fix_phpmailer_messageid( PHPMailer$phpmailer)

Correct From host on outgoing mail to match the site domain

参数

$phpmailer

(PHPMailer) (Required) The PHPMailer instance (passed by reference).

源文件

文件: gc-includes/ms-functions.php

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