Skip to content

Status of Swift Mailer support in v2.0.0? #125

Closed
@ThomasLandauer

Description

@ThomasLandauer

@TavoNiievez Am I right that the mailer configuration you/we introduced in https://github.com/Codeception/module-symfony/pull/9/files was removed in v2.0.0, and the module just doesn't work with Swift Mailer anymore?

At https://github.com/Codeception/module-symfony/releases/tag/2.0.0 you only mentioned that Symfony 4.4 is required, but this doesn't automatically mean that Swift Mailer was dropped in favor of Symfony Mailer, cause Swift Mailer is still supported in Symfony 4.4: https://symfony.com/doc/4.4/email.html

This is the "Fail" message people get when running their tests:

Emails can't be tested without Symfony Mailer service.

And I'd say it should be reworded into something like:

codeception/module-symfony requires Symfony Mailer to test emails. So you need to either upgrade your app from Swift Mailer to Symfony Mailer https://symfony.com/doc/current/mailer.html or downgrade codeception/module-symfony to 1.6.0

... cause some people might not have heard of Symfony Mailer at all yet ;-)

But it would be better to inform people upfront that it's not going to work. How could we do that? Maybe a yellow box at https://codeception.com/docs/modules/Symfony somewhere near the top? I can come up with some PR, but want to hear your opinion first :-)

BTW: On that page, what is that blue "table" in the top right: Changelog | Source | 3.1 | 2.5 | 1.8 ? The version numbers look like Codeception's, so they're quite misleading here. Do you know how/where this can be changed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions