Skip to content

Update README to mention custom headers #2

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

Closed
wants to merge 1 commit into from
Closed
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
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,19 @@ 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. |

Resources
---------
* [Infobip Api Docs](https://www.infobip.com/docs/api#channels/email)
Expand Down