Problem/Motivation

Having a DSN transport using:

failover(sendgrid+api://blabla@default ses+smtp://blabla@default)

When testing in /admin/config/system/mailer/test I get :

Error sending email: The "failover(sendgrid+api://blabla@default ses+smtp://blabla@default)" mailer DSN must contain a scheme.

This was working before upgrading drupal/symfony_mailer 1.1.0-beta2 to 1.2.1

CommentFileSizeAuthor
#2 symfony_mailer.failover.3358181-2.patch552 bytesadamps

Comments

aleix created an issue. See original summary.

adamps’s picture

Status: Active » Needs review
StatusFileSize
new552 bytes

Thanks for the report. This was introduced in #3332398: Allow custom TransportFactory.

Could you test this patch please?

aleix’s picture

Status: Needs review » Reviewed & tested by the community

It works with patch. Thank you for the quick response.

  • AdamPS committed a3c4e0a6 on 1.x
    Issue #3358181 by AdamPS, aleix: Failover DSN errors
    
adamps’s picture

Status: Reviewed & tested by the community » Fixed

Great thanks for a quick review😃

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.