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

[Fix] PHPStan and resending mail (and tests?) #24

Merged
merged 58 commits into from
Sep 9, 2024
Merged

[Fix] PHPStan and resending mail (and tests?) #24

merged 58 commits into from
Sep 9, 2024

Conversation

Baspa
Copy link
Member

@Baspa Baspa commented Sep 8, 2024

This PR fixes:

  • Uncorrect formatting of the from and reply_to adresses.
  • Checks if to, cc, bcc and reply_to are set before sending
  • Fixes PHPStan errors

@Baspa Baspa changed the title [Fix] Tests, PHPStan and resending mail [Fix] PHPStan and resending mail (and tests?) Sep 8, 2024
}

private function setMessageRecipients(Message $message): self
{
Copy link
Member Author

Choose a reason for hiding this comment

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

$this->cc should have priority over $this->mail->cc. Same for other recipients.

@markvaneijk markvaneijk merged commit 435dbc7 into main Sep 9, 2024
1 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants