我尝试在localhost MySql上以laravel发送电子邮件,但收到此错误:
Swift_TransportException in StreamBuffer.php line 298: Process could not be started [The system cannot find the path specified.]
答案 0 :(得分:0)
是。它会抛出错误。如果您想在本地服务器上进行测试,则需要在电子邮件模板中添加 die 。假设您在电子邮件文件夹中创建了一封电子邮件,即test-email.blade.php,如果您想查看该电子邮件: -
Enter Email Content here
<?php echo "test"; die; ?>
希望它有所帮助!