Support the ongoing development of Laravel.io →
posted 9 years ago
Mail
Last updated 2 years ago.
0

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');
Last updated 9 years ago.
0

beanmoss said:

http://laravel.com/docs/5.0/mail

Right...but doing Mail::('view',$array,callback) doesn't run middleware on the view...

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.