为什么WP-LOGIN要发送电子邮件?

时间:2014-08-13 作者:user57465

我的主机向我发送了以下消息:

下面是最近上载的脚本,其中包含发送电子邮件的代码。您可能希望检查它们以确保它们没有发送垃圾邮件。

/主页/SWTHIFE/public\\u html/wp登录。php:392:if($message&;!wp\\u mail($user\\u email,wp\\u specialchars\\u decode($title),$message))/home/sw小偷/public\\u html/wp登录。php:393:wp\\u die(\\uuu(“无法发送电子邮件”)。“
\\n”__(“可能的原因:您的主机可能已禁用mail()函数。”)/主页/SWTHIFE/public\\u html/wp登录。菲律宾:394:

/home/swthift/public\\u html/wp includes/class smtp。php:612://home/swthift/public\\u html/wp包含/class smtp。php:613:public function mail($from)/home/swthift/public\\u html/wp includes/class smtp。菲律宾:614:{

/home/swthift/public\\u html/wp包含/可插入。php:434:/home/swthift/public\\u html/wp includes/pluggable。php:435://设置为使用php的mail()/home/swthift/public\\u html/wp includes/pluggable。php:436:
$phpmailer->IsMail();

/home/swthift/public\\u html/wp includes/class phpmailer。php:172://home/swthift/public\\u html/wp包含/class phpmailer。php:173:public$Sendmail=“/usr/sbin/Sendmail”/home/swthift/public\\u html/wp includes/class phpmailer。菲律宾比索:174:

/home/swthift/public\\u html/wp includes/class phpmailer。php:175://**/home/swthift/public\\u html/wp includes/class phpmailer。php:176:*mail()是否使用与sendmail完全兼容的MTA/home/swthift/public\\u html/wp includes/class phpmailer。php:177:*支持sendmail的“-oi-f”选项。

/home/swthift/public\\u html/wp includes/class phpmailer。php:585://**/home/swthift/public\\u html/wp includes/class phpmailer。php:586:*以安全模式感知的方式调用mail()/home/swthift/public\\u html/wp includes/class phpmailer。php:587:*另外,除非sendmail\\u路径指向sendmail(或

/home/swthift/public\\u html/wp includes/class phpmailer。php:658://**/home/swthift/public\\u html/wp includes/class phpmailer。php:659:*使用php的mail()函数发送消息/home/swthift/public\\u html/wp includes/class phpmailer。php:660:@return void

/home/swthift/public\\u html/wp includes/class phpmailer。php:962:/home/swthift/public\\u html/wp includes/class phpmailer。php:963:
//要在使用mail()时捕获完整的消息,请创建/home/swthift/public\\html/wp includes/class phpmailer。php:964:
//一个额外的头列表,createHeader()不会折叠进去

/home/swthift/public\\u html/wp includes/class phpmailer。php:1081:
/**/home/swthift/public\\html/wp includes/class phpmailer。php:1082:
*使用php mail()函数发送邮件/home/swthift/public\\u html/wp includes/class phpmailer。php:1083:@param string$header消息头

/home/swthift/public\\u html/wp includes/class phpmailer。php:1587:/home/swthift/public\\u html/wp includes/class phpmailer。php:1588:
//由mail()自动创建/home/swthift/public\\u html/wp includes/class phpmailer。php:1589:
如果($this->Mailer!=“mail”){

/home/swthift/public\\u html/wp includes/class phpmailer。php:1604:/home/swthift/public\\u html/wp includes/class phpmailer。php:1605:
//sendmail and mail()在发送前从标题中提取抄送/home/swthift/public\\u html/wp includes/class phpmailer。php:1606:if(count($this->cc)>0){

/home/swthift/public\\u html/wp includes/class phpmailer。php:1609:/home/swthift/public\\u html/wp includes/class phpmailer。php:1610:
//sendmail and mail()在发送前从标题中提取密件抄送/home/swthift/public\\html/wp includes/class phpmailer。php:1611:
如果(($this->Mailer==“sendmail”)| |($this->Mailer==“mail”))&&;(计数($此->密件抄送)>0){

/home/swthift/public\\u html/wp includes/class phpmailer。php:1618:/home/swthift/public\\u html/wp includes/class phpmailer。php:1619:
//mail()设置主题本身/home/swthift/public\\u html/wp includes/class phpmailer。php:1620:
如果($this->Mailer!=“mail”){

我不是一名程序员,但似乎wp login正在尝试发送电子邮件。这让我困惑。这是真的吗?Wordpress为什么要发送电子邮件?

我安装了Jetpack插件(我看到后面引用了可插入目录),所以我想知道是否有人试图在帖子上使用“电子邮件共享”按钮,结果就是这样。

显然,我想确保wordpress没有被劫持来发送垃圾邮件。昨天我在一个新的数据库、新用户和新密码上重新安装了wordpress。

任何帮助都将不胜感激。非常感谢。

2 个回复
SO网友:Gareth Gillman

wp login是用于发送用户密码的文件,例如。

新用户注册

  • 用户密码丢失
    • 可能是您收到了大量注册垃圾邮件?安装时是否已关闭注册(设置>常规)?

    SO网友:Mark Kaplun

    这是一个懒惰的低质量列表,由您的主机生成。如果没有更多的上下文,很难理解它,但基本上它只是列出了有“mail”字符串的文件,与发送邮件的实际位置几乎没有关系。这种列表在实践中很少有用,因为它们向您提供了大量的详细信息,如果存在任何有害代码,就很难发现任何有害代码。

    结束

    相关推荐

    Disallow second login session

    我现在正在努力寻找一个解决方案,持续了两个月,但不幸的是,我没有找到任何结果。我有一个基于订阅的网站,可以播放音乐。客户基本上购买的是一个“面板”,他们在那里听音乐without the need to refresh 页面。我需要的是,如果他们的帐户已经在使用中,就不允许他们登录。我发现许多插件会强制用户注销,但只有在刷新页面时才会发生这种情况。例如,如果:A登录,它也可以工作。B使用相同的帐户登录,此时A将自动注销(我猜是使用Ajax)。过去没有人需要这个,这有点奇怪。有人能帮忙吗?提前谢谢。