稳定互联,中美互联,站长交流,虚拟主机,香港主机,美国主机,虚拟空间,免费空间,免费VPS,免费域名

 找回密码
 立即注册
查看: 2106|回复: 0

[经验] phpmailer报Could not instantiate mail function.错误解决

[复制链接]
发表于 2023-12-4 00:09:17 | 显示全部楼层 |阅读模式
phpmailer组件发送邮件提示:Could not instantiate mail function.
. C$ w+ }) ~3 I原因是服务器没有安装sendmail组件6 `9 K4 J4 h2 G5 B5 G7 I5 }

6 A& |4 U. K/ m! f' P" H9 X" T6 i1 ^安装:
7 ^5 i3 b" F  ^1 Y7 j. X( xcentos:
3 |# Q* G+ a# m& `9 ?- s3 x% x
  1. yum install sendmail
复制代码
0 ~5 _; B- f1 v: G- l; b
debian:) m% m/ d! `! d' D& O9 {# S. @( g$ h8 j
  1. apt  install sendmail
复制代码
  1. /etc/init.d/sendmail start
复制代码

% Y2 |8 h+ W% \  _  F0 a
( @% z, n- n( `; u8 b$ n
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|WdidcNet ( 苏ICP备17005075号-1 )

GMT+8, 2026-6-7 06:00 , Processed in 0.012509 second(s), 14 queries , APCu On.

Powered by Discuz!

© 2010-2023.

快速回复 返回顶部 返回列表