thinkphp5.0 使用邮箱,window 上可以,但liunx 系统不能发送邮箱

1.使用邮箱发送信息,在window上可以使用composer 中的邮箱插件,但是在liunx上的一般出现 Class 'PHPMailer\PHPMailer\PHPMailer' not found   如果项目部署在window 系统你可以: use PHPMailer\PHPMailer\PHPMailer; 这就可以了。 2.如果在liunx上不能这样写了,请看目录 不能使用use 命名
相关文章
相关标签/搜索