Skip to content
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

[Mailer] Use recipients in sendmail transport #45690

Merged
merged 1 commit into from Mar 18, 2022

Conversation

HypeMC
Copy link
Contributor

@HypeMC HypeMC commented Mar 9, 2022

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #41149
License MIT
Doc PR -

Supersedes #41150

@carsonbot carsonbot added this to the 4.4 milestone Mar 9, 2022
@HypeMC HypeMC marked this pull request as draft Mar 10, 2022
@HypeMC HypeMC force-pushed the sendmail-recipients-fix branch from 8958239 to 435d84b Compare Mar 10, 2022
@HypeMC HypeMC marked this pull request as ready for review Mar 10, 2022
@carsonbot
Copy link

carsonbot commented Mar 10, 2022

Hey!

I think @l-vo has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

@HypeMC HypeMC force-pushed the sendmail-recipients-fix branch 2 times, most recently from bd7c8e6 to 4f3a89a Compare Mar 13, 2022
fabpot
fabpot approved these changes Mar 18, 2022
@@ -86,6 +86,11 @@ protected function doSend(SentMessage $message): void
$this->getLogger()->debug(sprintf('Email transport "%s" starting', __CLASS__));

$command = $this->command;

if (!empty($recipients = $message->getEnvelope()->getRecipients())) {
Copy link
Member

@fabpot fabpot Mar 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (!empty($recipients = $message->getEnvelope()->getRecipients())) {
if ($recipients = $message->getEnvelope()->getRecipients()) {

@fabpot
Copy link
Member

fabpot commented Mar 18, 2022

Thank you @HypeMC.

@fabpot fabpot merged commit 676325b into symfony:4.4 Mar 18, 2022
8 of 10 checks passed
This was referenced Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants