Skip to content
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

Transport not registered exception #72

Open
RageZBla opened this issue Sep 28, 2018 · 1 comment
Open

Transport not registered exception #72

RageZBla opened this issue Sep 28, 2018 · 1 comment

Comments

@RageZBla
Copy link

We tried as per documentation and symfony is exploding when trying to send email. It says that the "mailgun" transport is not a default transport.

To make it work we had to add the following service definition:

services:
  # Hijack the transport because of mailgun
  swiftmailer.mailer.default.transport:
    alias: mailgun.swift_transport.transport

Is that expected or something is missing from the documentation?

@robjensen82
Copy link

This worked for me. Thanks for the tip

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

No branches or pull requests

2 participants