-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Attachments show up correctly again now #92
base: main
Are you sure you want to change the base?
fix: Attachments show up correctly again now #92
Conversation
3ac50a1
to
8f9a9fb
Compare
8f9a9fb
to
6a4177e
Compare
eb9f908
to
ee9e7ef
Compare
@schneider-felix It would be desirable if the change were also integrated in 2.x. Shopware 6.5 is still used quite frequently. |
@flkasper Sure, I will backport this to the 2.x branch, after @tinect or @shyim had the chance to review this change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to handle that none of the Events are called when the message is not sent by queue?
The result keeps, that no attachment would be saved.
On short check, I could not find a better way. What do you think?
This might also solve #93 The BCC recipient set in the MailSender should be considered with this change. https://github.com/shopware/shopware/blob/trunk/src/Core/Content/Mail/Service/MailSender.php#L49 |
This PR fixes #88
Because of the way Shopware handles attachments, the attachments are not resolved before the MailTransport has run. That's why we need to save attachments in the Subscriber.
While I was at it I also improved the UI of attachments.