I was able to solve the attachment issue by using swiftmailer's native attachData which doesn't even seem to be in the swiftmailer documentation. Now for the middleware...
$message->attachData('test data', 'test.txt');
beanmoss said:
Right...but doing Mail::('view',$array,callback) doesn't run middleware on the view...
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community