INSERT INTO `sw_settings` (`key`, `value`)
VALUES
('mail_driver', 'smtp'),
('mail_encryption', 'ssl'),
('mail_from', 'xx@qq.com'),
('mail_host', 'smtp.qq.com'),
('mail_password', 'xxxxxxxx'),
('mail_port', '465'),
('mail_username', 'xx@qq.com');
这个配置没毛病,刚测试ok了.密码要去qq邮箱设置里面生成验证密码,用那个.