fix_phpmailer_messageid

函数


fix_phpmailer_messageid ( $phpmailer )
参数
  • (PHPMailer)
    $phpmailer
    The PHPMailer instance (passed by reference).
    Required:
定义位置
  • wp-includes/ms-functions.php
    , line 2269
引入
弃用

Corrects From host on outgoing mail to match the site domain

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