WordPress开发者和主题制作者的搜索引擎



fix_phpmailer_messageid ›

Since3.0.0
已弃用n/a
fix_phpmailer_messageid ( $phpmailer )
参数:
  • (PHPMailer) $phpmailer The PHPMailer instance (passed by reference).
    Required: Yes
定义在:
文档:
Change Log:
  • MU

Correct From host on outgoing mail to match the site domain



源码

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