Skip to content

[6.x] Duplicated mailable in-memory data attachments with different names#32392

Merged
taylorotwell merged 3 commits intolaravel:6.xfrom
mnabialek:6.x-mailable-raw-attachments
Apr 15, 2020
Merged

[6.x] Duplicated mailable in-memory data attachments with different names#32392
taylorotwell merged 3 commits intolaravel:6.xfrom
mnabialek:6.x-mailable-raw-attachments

Conversation

@mnabialek
Copy link
Copy Markdown
Contributor

I'm not sure what was the exact reason of fix in 3c8ccc2 but I think it should be possible to use same data as attachment if they have different name.

Imagine such scenario - when you send daily or montly reports with some data in multiple files but sometimes some of those files can contain same data. At the moment some of files will be ignored and it can be really confusing both for developer and end-users why they won't receive some report files.

If approved I believe similar change should be done for disk attachments.

@mnabialek mnabialek changed the title [6.x] Duplicated mailable attachments [6.x] Duplicated mailable attachments with different names Apr 15, 2020
@taylorotwell taylorotwell merged commit 7c07cc5 into laravel:6.x Apr 15, 2020
@mnabialek mnabialek changed the title [6.x] Duplicated mailable attachments with different names [6.x] Duplicated mailable in-memory data attachments with different names Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants