fix_phpmailer_messageid()
fix_phpmailer_messageid( PHPMailer $phpmailer ) 从传出邮件的主…
fix_phpmailer_messageid( PHPMailer $phpmailer )
从传出邮件的主机更正以匹配站点域
Correct From host on outgoing mail to match the site domain
从传出邮件的主机更正以匹配站点域
Correct From host on outgoing mail to match the site domain
目录锚点:#参数#返回#源码#笔记
参数(Parameters)
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| $phpmailer | (PHPMailer) | 必需 | PHPMailer实例(通过引用传递)。 |
返回(Return)
无返回值
源码(Source)
/**
* Correct From host on outgoing mail to match the site domain
*
* @since MU
*/
function fix_phpmailer_messageid( $phpmailer ) {
$phpmailer->Hostname = get_current_site()->domain;
}| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| MU (3.0.0) | wp-includes/ms-functions.php:2216 | 0 | 1 function |
笔记(Notes)
例子
类别:WordPress 函数手册、
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。





还没有任何评论,赶紧来占个楼吧!