关于 Laravel 发送邮件的问题
有没有人遇到过,laravel发邮箱的问题,我输入纯数字邮箱发送成功,纯字母邮箱发送成功,数字➕字母就报错
下面是我写的代码
Mail::send('auth.activation_mail', ['data'=>$data], function($message) use ($email){
$message ->to($email)->subject('论坛');
});
报错信息是这样的
exception: "Swift_TransportException"
file: "/Users/bygones/Desktop/project/life/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php"
line: 456
message: "Expected response code 354 but got code "503", with message "503 Error: need RCPT command
↵""
trace: [{,…}, {,…}, {,…}, {,…}, {,…}, {,…}, {,…},…]
推荐文章: