Skip to content

Removed the unused SwiftMailerBundle #420

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

Removed the unused SwiftMailerBundle #420

wants to merge 1 commit into from

Conversation

javiereguiluz
Copy link
Member

Related to #417 and created to see if the community agrees or not with this change. Thanks!

@bocharsky-bw
Copy link
Contributor

There's some Swiftmailer code in config_dev.yml and config_test.yml files.

@bocharsky-bw
Copy link
Contributor

IMO, since it comes out-of-the-box with Symfony SE I'd rather add a simple example of its usage instead of remove it at all.

@javiereguiluz
Copy link
Member Author

One of the main problems is that we want the Symfony Demo fully working ... and you can't do that with SwiftMailer. We can't make SwiftMailer work and send emails for our users, because that means that they need to add some config parameters in the application with their Gmail or mail server credentials.

@bocharsky-bw
Copy link
Contributor

I mean using The Mail Transport, i.e. native PHP mail() function for sending emails, but as I see, it has some issues too, so probably removing Swiftmailer is the best option here 👍

@javiereguiluz
Copy link
Member Author

@bocharsky-bw problem is that the mail transport has been deprecated and it will be removed soon: swiftmailer/swiftmailer@905b0bc

@voronkovich
Copy link
Contributor

@javiereguiluz, we can disable email sendig in the configuration

swiftmailer:
    disable_delivery:  true

@javiereguiluz
Copy link
Member Author

@voronkovich yes ... but actually I'm looking for the opposite. If we want to showcase the SwiftMailer feature ... then the email sending must work and developers must receive some emails somewhere.

@bocharsky-bw
Copy link
Contributor

bocharsky-bw commented Jan 5, 2017

@javiereguiluz Ah, then removing Swiftmailer makes even more sense... thanks!

@frastel
Copy link
Contributor

frastel commented Jan 5, 2017

Seeing the Mails in the Web Debug Toolbar is not enough?

@voronkovich
Copy link
Contributor

@javiereguiluz, developers can view the sent email in the debug toolbar
http://symfony.com/doc/current/email/dev_environment.html#viewing-from-the-web-debug-toolbar

@javiereguiluz
Copy link
Member Author

javiereguiluz commented Jan 5, 2017

@frastel @voronkovich you are right! Maybe some "fake sending" is enough to showcase this feature.

@javiereguiluz
Copy link
Member Author

Closing in favor of other PRs that will make use of the SwiftMailer bundle.

javiereguiluz added a commit that referenced this pull request Jan 12, 2017
…voronkovich, javiereguiluz)

This PR was merged into the master branch.

Discussion
----------

Notify post author about new comments by sending email

See #420

Commits
-------

7dc958c Change prefix for translation messages
f918956 Use '_fragment' parameter
1e83a1d Final round of help notes improvements
bbc4077 Improved more help notes
a596761 Improved some help notes
ec601b6 Minor reword in the help note
f37e552 Minor tweaks in the translation strings
4125af9 Add note about event listener's method
f3b258a Remove default value for sender property
b4a97be Use event listener and custom event trigger
7b6ba9a Notify post author about new comments
sayjun0505 added a commit to sayjun0505/sym_proj that referenced this pull request Apr 16, 2023
…voronkovich, javiereguiluz)

This PR was merged into the master branch.

Discussion
----------

Notify post author about new comments by sending email

See symfony/demo#420

Commits
-------

7dc958c Change prefix for translation messages
f918956 Use '_fragment' parameter
1e83a1d Final round of help notes improvements
bbc4077 Improved more help notes
a596761 Improved some help notes
ec601b6 Minor reword in the help note
f37e552 Minor tweaks in the translation strings
4125af9 Add note about event listener's method
f3b258a Remove default value for sender property
b4a97be Use event listener and custom event trigger
7b6ba9a Notify post author about new comments
spider-yamet added a commit to spider-yamet/sym_proj that referenced this pull request Apr 16, 2023
…voronkovich, javiereguiluz)

This PR was merged into the master branch.

Discussion
----------

Notify post author about new comments by sending email

See symfony/demo#420

Commits
-------

7dc958c Change prefix for translation messages
f918956 Use '_fragment' parameter
1e83a1d Final round of help notes improvements
bbc4077 Improved more help notes
a596761 Improved some help notes
ec601b6 Minor reword in the help note
f37e552 Minor tweaks in the translation strings
4125af9 Add note about event listener's method
f3b258a Remove default value for sender property
b4a97be Use event listener and custom event trigger
7b6ba9a Notify post author about new comments
frederickboyd added a commit to frederickboyd/frederickboyd that referenced this pull request May 25, 2025
…voronkovich, javiereguiluz)

This PR was merged into the master branch.

Discussion
----------

Notify post author about new comments by sending email

See symfony/demo#420

Commits
-------

7dc958c Change prefix for translation messages
f918956 Use '_fragment' parameter
1e83a1d Final round of help notes improvements
bbc4077 Improved more help notes
a596761 Improved some help notes
ec601b6 Minor reword in the help note
f37e552 Minor tweaks in the translation strings
4125af9 Add note about event listener's method
f3b258a Remove default value for sender property
b4a97be Use event listener and custom event trigger
7b6ba9a Notify post author about new comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants