symfony / sendinblue-mailer
Symfony Sendinblue Mailer Bridge
Fund package maintenance!
fabpot
Tidelift
symfony.com/sponsor
Installs: 1 698 556
Dependents: 11
Suggesters: 6
Security: 0
Stars: 37
Watchers: 5
Forks: 7
Type:symfony-mailer-bridge
Requires
- php: >=8.1
- symfony/deprecation-contracts: ^2.5|^3
- symfony/mailer: ^5.4.21|^6.2.7|^7.0
Requires (Dev)
- symfony/http-client: ^6.3|^7.0
Conflicts
- symfony/mime: <6.2
- 6.4.x-dev
- v6.4.13
- v6.4.8
- v6.4.7
- v6.4.3
- v6.4.0
- v6.4.0-RC1
- v6.4.0-BETA2
- v6.4.0-BETA1
- 6.3.x-dev
- v6.3.12
- v6.3.7
- v6.3.6
- v6.3.4
- v6.3.0
- v6.3.0-RC1
- v6.3.0-BETA1
- 6.2.x-dev
- v6.2.10
- v6.2.7
- v6.2.5
- v6.2.0
- v6.2.0-RC1
- v6.2.0-BETA1
- 6.1.x-dev
- v6.1.11
- v6.1.0
- v6.1.0-RC1
- v6.1.0-BETA1
- 6.0.x-dev
- v6.0.19
- v6.0.8
- v6.0.7
- v6.0.3
- v6.0.0
- v6.0.0-RC1
- v6.0.0-BETA2
- v6.0.0-BETA1
- 5.4.x-dev
- v5.4.45
- v5.4.40
- v5.4.39
- v5.4.35
- v5.4.30
- v5.4.28
- v5.4.26
- v5.4.23
- v5.4.21
- v5.4.19
- v5.4.8
- v5.4.7
- v5.4.3
- v5.4.0
- v5.4.0-RC1
- v5.4.0-BETA2
- v5.4.0-BETA1
- 5.3.x-dev
- v5.3.14
- v5.3.4
- v5.3.0
- v5.3.0-RC1
- v5.3.0-BETA4
- v5.3.0-BETA1
- 5.2.x-dev
- v5.2.12
- v5.2.10
- v5.2.4
- v5.2.3
- v5.2.2
- v5.2.1
- v5.2.0
- v5.2.0-RC2
- v5.2.0-RC1
- v5.2.0-BETA3
- v5.2.0-BETA2
- v5.2.0-BETA1
This package is auto-updated.
Last update: 2024-10-27 13:53:10 UTC
README
Provides Sendinblue integration for Symfony Mailer.
Configuration example:
# SMTP MAILER_DSN=sendinblue+smtp://USERNAME:PASSWORD@default # API MAILER_DSN=sendinblue+api://KEY@default
where:
KEY
is your Sendinblue API Key
With API, you can use custom headers.
$params = ['param1' => 'foo', 'param2' => 'bar']; $json = json_encode(['custom_header_1' => 'custom_value_1']); $email = new Email(); $email ->getHeaders() ->add(new MetadataHeader('custom', $json)) ->add(new TagHeader('TagInHeaders1')) ->add(new TagHeader('TagInHeaders2')) ->addTextHeader('sender.ip', '1.2.3.4') ->addTextHeader('templateId', 1) ->addParameterizedHeader('params', 'params', $params) ->addTextHeader('foo', 'bar') ;
This example allow you to set:
- templateId
- params
- tags
- headers
- sender.ip
- X-Mailin-Custom
For more information, you can refer to Sendinblue API documentation.