Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/email/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Email PHPLIST-安装后邮件发送失败_Email_Phplist - Fatal编程技术网

Email PHPLIST-安装后邮件发送失败

Email PHPLIST-安装后邮件发送失败,email,phplist,Email,Phplist,我使用的是phplist-2.10.10 安装和一切正常。我在测试模式和测试=0模式下都进行了测试 我总是收到邮件发送失败,甚至我添加了四个列表超过10个成员,两个模板 我认为问题在于SMTP身份验证 我应该在SMTP主机和用户中编辑什么,密码-在conifg中 我的服务器是lunar pages服务器,他们只提供smtp主机名。我没有获得用户名或密码。我找到了解决方案 问题是我们需要提供smtp authenticationusername和密码 所以在class.phplistmail.ph

我使用的是phplist-2.10.10

安装和一切正常。我在测试模式和测试=0模式下都进行了测试

我总是收到邮件发送失败,甚至我添加了四个列表超过10个成员,两个模板

我认为问题在于SMTP身份验证

我应该在SMTP主机和用户中编辑什么,密码-在conifg中

我的服务器是lunar pages服务器,他们只提供smtp主机名。我没有获得用户名或密码。我找到了解决方案

问题是我们需要提供smtp authenticationusername和密码

所以在class.phplistmail.php中

消除这些条件

   if (!$this->Host || $ip == $this->Host) {
        $this->Mailer = "mail";
#        logEvent('Sending via mail');
      } else {
        $this->Mailer = "smtp";
#        logEvent('Sending via smtp');
      }
$this->Mailer=mail;再加上

因此,它将始终发送邮件,而不是检查smtp