fix_phpmailer_messageid( PHPMailerPHPMailerPHPMailer $phpmailer )
Corrects From host on outgoing mail to match the site domain.
Parameters
- $phpmailer
-
(Required) The PHPMailer instance (passed by reference).
Source
File: wp-includes/ms-functions.php
function fix_phpmailer_messageid( $phpmailer ) {
$phpmailer->Hostname = get_network()->domain;
}
Changelog
| Version | Description |
|---|---|
| MU (3.0.0) | Introduced. MU (3.0.0) |