使用 ThinkPHP 3.2.x 来搭建,下载了 github 最新版本的 PHPMailer,源码提示说
Class 'Vendor\PHPMailer\SMTP' not found in
我现在用 require_once 暂时解决了,不过感觉很原始,想要 TP 风格一些
http://www.kancloud.cn/manual/thinkphp/1851
composer install
使用 ThinkPHP 3.2.x 来搭建,下载了 github 最新版本的 PHPMailer,源码提示说
Class 'Vendor\PHPMailer\SMTP' not found in
我现在用 require_once 暂时解决了,不过感觉很原始,想要 TP 风格一些
http://www.kancloud.cn/manual/thinkphp/1851
composer install