Skip to content
Permalink
Browse files

Rename the Symfony Mailer service config to avoid conflict with SwitM…

…ailer
  • Loading branch information...
tgalopin committed Jun 4, 2019
1 parent 04e2026 commit 5fa9d6364a690d349361204e0fd6fa3f672b343b
Showing with 5 additions and 4 deletions.
  1. +5 −4 src/Symfony/Bundle/FrameworkBundle/Resources/config/mailer.xml
@@ -1,15 +1,16 @@
<?xml version="1.0" encoding="UTF-8" ?>

<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

<services>
<service id="mailer" class="Symfony\Component\Mailer\Mailer">
<service id="mailer.mailer" class="Symfony\Component\Mailer\Mailer">
<argument type="service" id="mailer.transport" />
<argument type="service" id="messenger.default_bus" on-invalid="ignore" />
</service>
<service id="Symfony\Component\Mailer\MailerInterface" alias="mailer" />
<service id="mailer" alias="mailer.mailer" />
<service id="Symfony\Component\Mailer\MailerInterface" alias="mailer.mailer" />

<service id="mailer.transport" class="Symfony\Component\Mailer\Transport\TransportInterface">
<factory class="Symfony\Component\Mailer\Transport" method="fromDsn" />

0 comments on commit 5fa9d63

Please sign in to comment.
You can’t perform that action at this time.