wpseek.com
A WordPress-centric search engine for devs and theme authors



fix_phpmailer_messageid › WordPress Function

Since
Deprecatedn/a
fix_phpmailer_messageid ( $phpmailer )
Parameters:
  • (PHPMailerPHPMailerPHPMailer) $phpmailer The PHPMailer instance (passed by reference).
    Required: Yes
Defined at:
Codex:
Change Log:
  • MU

Corrects From host on outgoing mail to match the site domain.



Source

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