The "azure+api" scheme is not supported

Hi,

I’m very new to Mautic and I’m working on my first installation. The last missing bit is sending emails.
We host most things in Azure, so I want to keep emails there as well.
I followed the mix of documentations as much as I could but I got a bit lost.
Mautic runs on our server inside Proxmox on Debian 12, Apache, Php 8.2.28 and MariaDB 10.11.

Mautic docs sent me to Symphony mailer. As per their docs, I set up Azure Communication Service, set up email, verified the domain and then tested that successfully.
Then on the Mautic server, I ran
php bin/composer --ignore-platform-reqs require symfony/azure-mailer
as www-data. This gave me an error at the very end, saying it couldn’t run bin/console mautic:assets:generate. This command lacks php, so I ran that manually, which was successfull.

The bit where I got stuck was creating the DSN.
Symphony doc says the format is
azure+api://ACS_RESOURCE_NAME:KEY@default
but when I set Scheme in Mautic to azure+api, I get an error saying
The “azure+api” scheme is not supported.

Just for the sake of testing, I changed the scheme to ses+api, which gave an error
“Unable to send emails via “ses” as the bridge is not installed. Try running “composer require symfony/amazon-mailer”.”
as expected, which tells me the composer command above was successfull.

I consulted Google and SYmphony docs for the error message, but no luck.

Can someone shed some light on what step I am missing?

Thanks,
Zoltan

Hello Zoli,
Can the issue be symfony/azure-mailer is from Symfony 7+ and Mautic 6 is Symfony 6?
Joey

Szia,

Well, I didn’t expect that. Thanks for pointing it out :slight_smile:

Is there a way to upgrade Symfony on its own?
If not, do you happen to know when it will be updated via Mautic?

BTW, great videos on Youtube.

Cheers,
Zoltan

:slight_smile: Thx Zoltán!
Mautic version number reflects the symfony version as well. Mautic 7 is in the works, but it will be at least 6 months until it’s production ready (beginning 2026.)

Maybe you want to try SMTP?

I guess that’s the only option for now. I set up a temporary solution for testing, but I’m not sure how well it will work, so that’s why Azure would be better. This is what it is for now.

I may have found a problem with AAD SSO. Should I report that somewhere?

For sure, thank you!
on Mautic’s github: GitHub · Where software is built

Even better if you can start working on it :slight_smile:

Thanks. I’ll report it there tomorrow with details.
Trust me, it’s best for everyone if I don’t touch the code :smiley: I’m an infra guy.

Thanks for your help.

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.