Skip to content

Transport not registered exception #72

Open

Description

@RageZBla

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?

Activity

  1. robjensen-nz commented on Oct 11, 2018

    @robjensen-nz

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions