On this page
fix_phpmailer_messageid( PHPMailer $phpmailer )
Corrects From host on outgoing mail to match the site domain
Parameters
$phpmailerPHPMailer Required-
The PHPMailer instance (passed by reference).
Source
File: wp-includes/ms-functions.php. View all references
function fix_phpmailer_messageid( $phpmailer ) {
$phpmailer->Hostname = get_network()->domain;
}
Related
Uses
| Uses | Description |
|---|---|
| get_network() wp-includes/ms-network.php | Retrieves network data given a network ID or network object. |
Changelog
| Version | Description |
|---|---|
| MU (3.0.0) | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/fix_phpmailer_messageid