-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
MailProcessor adds Recipient twice #2581
Comments
where does pimcore add the to again? |
@dpfaffenbauer: Pimcore doesn't, CoreShop does. Because coreshop uses the After that, coreshop also adds them here: CoreShop/src/CoreShop/Component/Pimcore/Mail.php Lines 53 to 61 in b814c70
Most of the time, shop mails property |
So we should stop adding that then right? or at least check for duplicates? |
Removing this part should be safe, I guess? CoreShop/src/CoreShop/Component/Pimcore/Mail.php Lines 51 to 57 in b814c70
This part is covered in |
To:
field$this->mailProcessor->sendMail($mailDocument, $order, null, [], $mailParams);
Reason:
CoreShop/src/CoreShop/Component/Pimcore/Mail.php
Lines 53 to 61 in b814c70
Which is just a duplicate of pimcores internal mail processor:
https://github.com/pimcore/pimcore/blob/3b9af529ec41cc6a9723dde96714df67b65d6078/lib/Mail.php#L378-L382
The text was updated successfully, but these errors were encountered: