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

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

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

[复制链接]
发表于 2023-12-4 00:09:17 | 显示全部楼层 |阅读模式
phpmailer组件发送邮件提示:Could not instantiate mail function.: e/ D+ `# ]( c  R3 Q  `/ b; a% ]
原因是服务器没有安装sendmail组件
3 R! f, A5 l1 Z. ?) `3 B# K1 x! b# |1 v6 d3 l& ~- E0 c
安装:
% |3 S: e& [$ tcentos:/ w1 f  ~. S$ Y1 N: D. f8 M
  1. yum install sendmail
复制代码

2 }% w+ h4 m, k1 E6 k) ~debian:/ d! H, K: X" Y7 g) m7 K
  1. apt  install sendmail
复制代码
  1. /etc/init.d/sendmail start
复制代码
0 z! Q; W% r0 W8 X

4 V) `, f" G# A1 t- k7 T0 j
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2026-8-13 22:57 , Processed in 0.008557 second(s), 6 queries , Redis On.

Powered by Discuz!

© 2010.

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