Skip to content

Fix construction of SmtpTransport in Mailer docs #12531

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

Merged
merged 1 commit into from
Nov 4, 2019

Conversation

pskt
Copy link
Contributor

@pskt pskt commented Oct 22, 2019

Changed SmtpTransport to EsmtpTransport in standalone component docs.
SmtpTransport::__construct() requires instance of AbstractStream (see https://github.com/symfony/mailer/blob/master/Transport/Smtp/SmtpTransport.php#L41). Construction with host name is available in EsmtpTransport (https://github.com/symfony/mailer/blob/master/Transport/Smtp/EsmtpTransport.php#L33)

@OskarStark
Copy link
Contributor

@fabpot would you mind give 👍 or 👎 on this? Thanks 🙏

@OskarStark OskarStark added this to the 4.3 milestone Nov 2, 2019
@OskarStark
Copy link
Contributor

Thanks for fixing this bug Paweł.

OskarStark added a commit that referenced this pull request Nov 4, 2019
This PR was merged into the 4.3 branch.

Discussion
----------

Fix construction of SmtpTransport in Mailer docs

Changed `SmtpTransport` to `EsmtpTransport` in standalone component docs.
`SmtpTransport::__construct()` requires instance of `AbstractStream` (see https://github.com/symfony/mailer/blob/master/Transport/Smtp/SmtpTransport.php#L41). Construction with host name is available in `EsmtpTransport` (https://github.com/symfony/mailer/blob/master/Transport/Smtp/EsmtpTransport.php#L33)

Commits
-------

c66c4af Fix construction of SmtpTransport in Mailer docs
@OskarStark OskarStark merged commit c66c4af into symfony:4.3 Nov 4, 2019
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.

4 participants