[GH-ISSUE #1611] swiftmailer is abandoned #685

Closed
opened 2026-03-04 02:17:00 +03:00 by kerem · 4 comments
Owner

Originally created by @ghost on GitHub (Nov 23, 2021).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1611

Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.

Originally created by @ghost on GitHub (Nov 23, 2021). Original GitHub issue: https://github.com/Seldaek/monolog/issues/1611 Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
kerem 2026-03-04 02:17:00 +03:00
  • closed this issue
  • added the
    Feature
    label
Author
Owner

@stof commented on GitHub (Nov 23, 2021):

Well, Monolog has an optional feature allowing to use Swiftmailer to send logs by email. The symfony/monolog-bridge package already implements the equivalent feature using symfony/mailer.

<!-- gh-comment-id:976715239 --> @stof commented on GitHub (Nov 23, 2021): Well, Monolog has an optional feature allowing to use Swiftmailer to send logs by email. The `symfony/monolog-bridge` package already implements the equivalent feature using symfony/mailer.
Author
Owner

@juan-morales commented on GitHub (Nov 23, 2021):

But... Should bé in the "issues"?

<!-- gh-comment-id:976841649 --> @juan-morales commented on GitHub (Nov 23, 2021): But... Should bé in the "issues"?
Author
Owner

@stof commented on GitHub (Nov 23, 2021):

Well, to me, this should be closed. The fact that Swiftmailer is abandoned means that projects should probably stop using it, and so should stop using the SwiftmailerHandler of Monolog (migrating to one of the alternatives that already exist).

However, it does not mean that the SwiftmailerHandler should be removed from Monolog right now:

  • it is a BC break, so it would require doing a new major version of Monolog (and if it is the only BC break, the impact on the ecosystem might not be worth it)
  • the handler does not suddenly become broken, so if a project relies on it right now, it can still do it (but should plan a migration away from swiftmailer)
<!-- gh-comment-id:976856205 --> @stof commented on GitHub (Nov 23, 2021): Well, to me, this should be closed. The fact that Swiftmailer is abandoned means that projects should probably stop using it, and so should stop using the SwiftmailerHandler of Monolog (migrating to one of the alternatives that already exist). However, it does not mean that the SwiftmailerHandler should be removed from Monolog right now: - it is a BC break, so it would require doing a new major version of Monolog (and if it is the only BC break, the impact on the ecosystem might not be worth it) - the handler does not suddenly become broken, so if a project relies on it right now, it can still do it (but should plan a migration away from swiftmailer)
Author
Owner

@juan-morales commented on GitHub (Nov 23, 2021):

I also agree this should be close, and the handler should remain alive.

@BITWINGS-DE please consider these comments, and close the issue unless you encounter this event to represent an issue to the project.

<!-- gh-comment-id:976889613 --> @juan-morales commented on GitHub (Nov 23, 2021): I also agree this should be close, and the handler should remain alive. @BITWINGS-DE please consider these comments, and close the issue unless you encounter this event to represent an issue to the project.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/monolog#685
No description provided.