Home > Backend Development > PHP Tutorial > php 程序发送邮件失败

php 程序发送邮件失败

WBOY
Release: 2016-06-23 13:13:22
Original
836 people have browsed it

library/mail/phpmailer.php  文件中

  */  public function IsSMTP() {    $this->Mailer = 'smtp';  //原本是大写的
Copy after login



smtp大写的时候 默认是用系统sendmail发送邮件

改成小写 才是使用smtp服务器发送

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template