I want to attach 5 dynamic text file in mail but not working.
I send single attachment in email working perfect my code is :
$Email->attachments('path/to/example.txt');
But i send multiple attachment in email not working.
My code is :
$Email->attachments('path/to/example.txt','path/to/example1.txt','path/to/example3.txt','abs/path/to/example4.txt','path/to/example5.txt');
See Question&Answers more detail:os