在服务器上用PHPMAIL发送邮件出现Could not connect to SMTP host错误 解决办法
2013-04-16 22:37
896 查看
在 class.phpmailer.php 中,将
function IsSMTP() {
$this->Mailer = 'smtp';
}
改成:
function IsSMTP() {
$this->Mailer = 'SMTP';
}
function IsSMTP() {
$this->Mailer = 'smtp';
}
改成:
function IsSMTP() {
$this->Mailer = 'SMTP';
}
相关文章推荐
- 服务器发送邮件出现Could not connect to SMTP host错误 解决办法
- Godaddy服务器发送邮件出现Could not connect to SMTP host错误 解决办法
- wordpress之SMTP发送邮件出现Could not connect to SMTP host解决办法
- 黄聪:VPS服务器如何配置PHP.ini解决wordpress使用WP-Mail-SMTP插件发邮件出现Could not connect to SMTP host的解决办法
- PHPMailer发送邮件,出现无法连接host (Could not connect to SMTP host)
- PHPMailer错误SMTP Error: Could not connect to SMTP host的解决办法
- 发送自动邮件时Could not connect to SMTP host: 10.1.1.195, port: 25;报错的解决方法
- phpmailer SMTP Error: Could not connect to SMTP host. 错误解决
- 关于使用Java Mail进行邮件发送,抛出Could not connect to SMTP host: xx@xxx.com, port: 25的异常可能
- 解决2个smtp的问题: SMTP Error: Could not connect to SMTP host.
- 解决服务器连接错误Host ‘XXX’ is not allowed to connect to this MySQL server
- 解决服务器连接错误Host ‘XXX’ is not allowed to connect to this MySQL server
- 远程连接MySql服务器时 报not allowed to connect错误解决办法
- 解决问题:javax.mail.MessagingException: Could not connect to SMTP host: smtp.exmail.qq.com, port: 25;
- 解决服务器连接错误Host ‘XXX’ is not allowed to connect to this MySQL server
- Docker出现Cannot connect to the Docker daemon. Is the docker daemon running on this host错误解决办法
- 解决服务器连接错误Host ‘XXX’ is not allowed to connect to this MySQL server
- Host is not allowed to connect to this MySQL server错误的解决办法
- Host 'thinkive-PC' is not allowed to connect to this MySQL server错误解决办法
- scp 出现错误ssh: connect to host 9.123.159.41 port 22:connection refused的解决办法