# Mautic 5 New callback process results in 404

**URL:** <https://forum.mautic.org/t/mautic-5-new-callback-process-results-in-404/30479>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [January 12, 2024, 6:44pm UTC](https://forum.mautic.org/t/mautic-5-new-callback-process-results-in-404/30479 "2024-01-12T18:44:57Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![av1dlearner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/av1dlearner/32/997_2.png) [@av1dlearner](https://forum.mautic.org/u/av1dlearner)\
**Post date:** [January 12, 2024, 6:44pm UTC](https://forum.mautic.org/t/mautic-5-new-callback-process-results-in-404/30479/1 "2024-01-12T18:44:57Z")

</div>

**Your software**  
My Mautic version is: 5.0.1  
My PHP version is: 8.1.27  
My Database type and version is:

**Your problem**  
Hi everyone, I upgraded to 5.0.1 👏 but I saw that the callback process is now unified under [https://mautic.example.com/mailer/callback](https://mautic.example.com/mailer/callback) however my postmark webhook calls will get a 404

These errors are showing in the log:

```auto
"POST /mailer/callback HTTP/1.1" 404 5592 "-" "Postmark"
 "POST /mailer/callback HTTP/1.1" 404 5592 "-" "Postmark"

```

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [January 12, 2024, 6:48pm UTC](https://forum.mautic.org/t/mautic-5-new-callback-process-results-in-404/30479/2 "2024-01-12T18:48:39Z")

</div>

Thanks for posting over here!

Copying from Slack:

[https://docs.mautic.org/en/5.x/configuration/settings.html#email-transport-settings](https://docs.mautic.org/en/5.x/configuration/settings.html#email-transport-settings)

We don’t currently have a plugin for Postmark, so it won’t work with callbacks yet, I don’t expect - even the Symfony plugins don’t support callbacks, a Mautic plugin is required as we communicated in the release upgrade notes and blog post. SMTP mode should work as an interim measure.

To use Postmark fully, you’ll need to write a plugin for that (or have someone write one for you and submit it to the marketplace ideally) - docs are here: [Emails — Mautic Developer Documentation 3.0.0 documentation](https://devdocs.mautic.org/en/5.x/components/emails.html#email-transports) for the transports and here for the marketplace: [Listing a Plugin in the Marketplace — Mautic Developer Documentation 3.0.0 documentation](https://devdocs.mautic.org/en/5.x/marketplace/listing.html).

---

<div class="post-metadata">

**Author:** ![av1dlearner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/av1dlearner/32/997_2.png) [@av1dlearner](https://forum.mautic.org/u/av1dlearner)\
**Post date:** [January 12, 2024, 6:53pm UTC](https://forum.mautic.org/t/mautic-5-new-callback-process-results-in-404/30479/3 "2024-01-12T18:53:25Z")

</div>

I’m using SMTP to send, my challenge is to get bounce and subscription changes via webhook it was working fine in 4.4.1 with `'mautic.transport.postmark'` in `/mautic/app/bundles/EmailBundle/Config/config.php` but Mautic 5 has completely re-written the entire email sending system.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 12, 2024, 7:45pm UTC](https://forum.mautic.org/t/mautic-5-new-callback-process-results-in-404/30479/4 "2024-01-12T19:45:41Z")

</div>

The callback was simplified in M5. And as Ruth suggested, there will have to be a plugin to listen for the webhooks (callbacks).

The callback route was changed to `/mailer/callback` for all email providers. Any plugin can listen for the request and do the actions it needs to do.

Here is an example of the subscriber that does this exact thing for the Sparkpost email provider:

> <https://github.com/ts-navghane/sparkpost-plugin/blob/76f5b8342b3dcd615d0f977df73c4c5933db841a/EventSubscriber/CallbackSubscriber.php>

So the new plugin will need this subscriber, modify it for Postmark payload and that’s it.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [January 15, 2024, 7:57am UTC](https://forum.mautic.org/t/mautic-5-new-callback-process-results-in-404/30479/5 "2024-01-15T07:57:24Z")

</div>

> [@escopecz](#):
>
> does

I have a question about this.  
This is a spakpost plugin, that seem to include sending AND callback all together.

But the clear advantage of symfonymailer was, that we can use an transport by using installing it from symfony, like:

> **[GitHub - symfony/amazon-mailer: Symfony Amazon Mailer Bridge](https://github.com/symfony/amazon-mailer)**
>
> Symfony Amazon Mailer Bridge. Contribute to symfony/amazon-mailer development by creating an account on GitHub.

I did install this, and email sending works like a charm.

So when a new amazon plugin will be created, then it will just add a callback, or have to re-install this new plugin, that also handles email sending + callback?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 15, 2024, 11:33am UTC](https://forum.mautic.org/t/mautic-5-new-callback-process-results-in-404/30479/6 "2024-01-15T11:33:39Z")

</div>

The SES plugin should use batch API to send emails so it will be sending thousands of times faster than SMTP. It will also handle the callbacks. It won’t hurt to have the Symfony transport installed together with the SES plugin, but I don’t see a reason why.

---

<div class="post-metadata">

**Author:** ![av1dlearner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/av1dlearner/32/997_2.png) [@av1dlearner](https://forum.mautic.org/u/av1dlearner)\
**Post date:** [January 15, 2024, 11:35pm UTC](https://forum.mautic.org/t/mautic-5-new-callback-process-results-in-404/30479/7 "2024-01-15T23:35:20Z")

</div>

I ran `composer require symfony/postmark-mailer` and tested sending emails through `postmark+api`, success. However the callbacks still get 404 `No email transport that could process this callback was found` I guess that doesn’t come out of the box ?

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [January 16, 2024, 9:57am UTC](https://forum.mautic.org/t/mautic-5-new-callback-process-results-in-404/30479/8 "2024-01-16T09:57:06Z")

</div>

Callback is not included in the Symfony mailer transports, as documented here:

[https://docs.mautic.org/en/5.x/configuration/settings.html#example-api-transport-installation](https://docs.mautic.org/en/5.x/configuration/settings.html#example-api-transport-installation)

> It’s a nice perk that Mautic can use any transport provided by Symfony Mailer. However, be aware that such transports (from Symfony) don’t support batch sending, even via API. They only send one email per request, as opposed to a thousand emails per request as is the case with some Mautic transports, which can make them slow at scale. **They also don’t support transport callback handling used for bounce management**. If you plan to send larger volumes of Emails or need to use features which require callback handling, please consider using Email transports built specifically for such use. These plugins are available in the Mautic Marketplace.

So you’d need a Mautic plugin created to manage the callback.

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [January 16, 2024, 10:55pm UTC](https://forum.mautic.org/t/mautic-5-new-callback-process-results-in-404/30479/9 "2024-01-16T22:55:06Z")

</div>

Hi - are you referring to a specific plugin for SES which is about to be released?  
Yes - Amazon SES API should send batch and callbacks to be processed would also be appreciated.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 17, 2024, 9:42am UTC](https://forum.mautic.org/t/mautic-5-new-callback-process-results-in-404/30479/10 "2024-01-17T09:42:40Z")

</div>

There was a discussion about the SES plugin last week on Slack:

> **[Slack is your productivity platform](https://mautic.slack.com/?redir=%2Farchives%2FC02HV76BW%2Fp1704904423773409%3Fname%3DC02HV76BW%26perma%3D1704904423773409)**
>
> Slack is a new way to communicate with your team. It’s faster, better organized, and more secure than email.

The repo is [GitHub - mabumusa1/ses-plugin](https://github.com/mabumusa1/ses-plugin) and the ask was to get more contributors to get it finished.

The Sparkpost plugin can work as an inspiration for whatever is missing in the SES plugin:

> **[GitHub - ts-navghane/sparkpost-plugin: Sparkpost Mailer Plugin for Mautic](https://github.com/ts-navghane/sparkpost-plugin)**
>
> Sparkpost Mailer Plugin for Mautic. Contribute to ts-navghane/sparkpost-plugin development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![sufi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sufi/32/12710_2.png) [@sufi](https://forum.mautic.org/u/sufi)\
**Post date:** [August 1, 2024, 12:16pm UTC](https://forum.mautic.org/t/mautic-5-new-callback-process-results-in-404/30479/11 "2024-08-01T12:16:36Z")

</div>

Any information on a SendGrid plugin for Mautic 5 that supports callbacks?

---

<div class="post-metadata">

**Author:** ![aniket.golam99](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aniket.golam99/32/13547_2.png) [@aniket.golam99](https://forum.mautic.org/u/aniket.golam99)\
**Post date:** [January 31, 2025, 6:46am UTC](https://forum.mautic.org/t/mautic-5-new-callback-process-results-in-404/30479/12 "2025-01-31T06:46:26Z")

</div>

I also have a same qestion reagrding callback using from Sendgrid

---

<div class="post-metadata">

**Author:** ![gandhi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gandhi/32/13476_2.png) [@gandhi](https://forum.mautic.org/u/gandhi)\
**Post date:** [February 7, 2025, 12:24pm UTC](https://forum.mautic.org/t/mautic-5-new-callback-process-results-in-404/30479/13 "2025-02-07T12:24:48Z")

</div>

“I tried using the same plugin, and in my campaign, I added 5 contacts. However, the email was sent to only 1 contact, even though it shows 5 emails as sent.”
