Hello, I've put together the following code to test if I can send files with Mandrill.
Mail::send('emails.internal.log', [], function($message) {
$file = storage_path() . '/logs/laravel-2015-06-25.log';
$message->attach($file);
$message->to('me@gmail.com')
->subject('Nightly Log - 2015-06-25');
});
It provides no error code, but I also don't get an email... Mandrill shows nothing either....
Any help would be appreciated! Thanks!
set driver name Mandrill,
'driver' => 'mandrill'
refer this link : http://laravel.io/forum/07-06-2014-mail-with-mandrill-doesnt-work
Agree with @kumarramalingam - check if you're actually using Mandrill (config/mail and config/services files), send an email without an attachment first.
That isn't the problem. The driver is mandrill and I have sent many emails (without attachments) using Mandrill.
Any other ideas?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community