Level 6
@matus your error description must be either in storage/logs/laravel.log or in nginx's error.log.
By the way, you don't return anything from controller's action method. I don't think you are allowed to do that.
Hello guys,
I have a small Lumen app, which i want to use to send emails. I would like to use mandrill service as a driver, however I am stuck on one single problem. Everything works fine, until I try to send an email. When I do so I get a 500 error with no other description. I have a no clue what does it mean.
This is my controller:
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Mail;
class ContactController extends Controller
{
public function send(Request $request)
{
Mail::raw('Text to e-mail', function ($message) {
$message->from('us@example.com', 'Laravel');
$message->to('us@example.com')->subject('12345');;
});
}
}
Thanks for your replies
Please or to participate in this conversation.