Skip to content
Advertisement

Tag: laravel-mail

Laravel Mail attach method – Attached file not opening after downloading

I have used the Laravel Mail attach method to specify file attachment for the mail being sent. The file attached successfully but cannot be viewed. ->attach(route(‘download_attachment’, ‘file=’ . $attachment->name)); One thing I noticed though is that if I generate the link in the email being sent, people can also only download it if they are authenticated. So, I am thinking

Advertisement