Skip to content

[Mailer] [Infobip] Document the usage of custom headers #57485

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

Merged
merged 1 commit into from
Jun 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions src/Symfony/Component/Mailer/Bridge/Infobip/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,25 @@ MAILER_DSN=infobip+api://KEY@BASE_URL
MAILER_DSN=infobip+smtp://KEY@default
```

Custom Headers
--------------

This transport supports the following custom headers:

| Header | Type | Description |
|--------------------------------|---------|-----------------------------------------------------------------------------------------|
| `X-Infobip-IntermediateReport` | boolean | The real-time Intermediate delivery report that will be sent on your callback server. |
| `X-Infobip-NotifyUrl` | string | The URL on your callback server on which the Delivery report will be sent. |
| `X-Infobip-NotifyContentType` | string | Preferred Delivery report content type. Can be application/json or application/xml. |
| `X-Infobip-MessageId` | string | The ID that uniquely identifies the message sent to a recipient. |
| `X-Infobip-Track` | boolean | Enable or disable open and click tracking. |
| `X-Infobip-TrackingUrl` | string | The URL on your callback server on which the open and click notifications will be sent. |
| `X-Infobip-TrackClicks` | boolean | Enable or disable track click feature.. |
| `X-Infobip-TrackOpens` | boolean | Enable or disable open click feature. |

Resources
---------

* [Infobip Api Docs](https://www.infobip.com/docs/api#channels/email)
* [Contributing](https://symfony.com/doc/current/contributing/index.html)
* [Report issues](https://github.com/symfony/symfony/issues) and
Expand Down
Loading