Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Mailer] Improve type checks when trying to send raw message without envelope #34382

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

Closed
wants to merge 1 commit into from
Closed

[Mailer] Improve type checks when trying to send raw message without envelope #34382

wants to merge 1 commit into from

Conversation

ogizanagi
Copy link
Contributor

Q A
Branch? 4.4
Bug fix? yes?
New feature? no
Deprecations? no
Tickets N/A
License MIT
Doc PR N/A

This attempts to solve #33454 a bit differently.
The main motivation here being the fact not only a RawMessage instance would fail without an envelope with these implementations, but anything else than a Message, which is required by DelayedEnvelope::__construct (to rely on Message::getHeaders).

@fabpot
Copy link
Member

fabpot commented Nov 14, 2019

I did it this way because I think that at some point we will parse plain RawMessage instances to get the information.

@ogizanagi
Copy link
Contributor Author

I see. Let's close then :)

@ogizanagi ogizanagi closed this Nov 14, 2019
@ogizanagi ogizanagi deleted the envelope_create_typechecks branch November 14, 2019 16:20
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.

3 participants