fix_phpmailer_messageid( PHPMailer $phpmailer )
Correct From host on outgoing mail to match the site domain
Description Description
Parameters Parameters
- $phpmailer
-
(PHPMailer) (Required) The PHPMailer instance (passed by reference).
Source Source
File: wp-includes/ms-functions.php
function fix_phpmailer_messageid( $phpmailer ) {
$phpmailer->Hostname = get_network()->domain;
}
Expand full source code Collapse full source code View on Trac
Changelog Changelog
| Version | Description |
|---|---|
| MU (3.0.0) | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Example