Download the PHP package everlutionsk/mandrill-bundle without Composer
On this page you can find all versions of the php package everlutionsk/mandrill-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download everlutionsk/mandrill-bundle
More information about everlutionsk/mandrill-bundle
Files in everlutionsk/mandrill-bundle
Package mandrill-bundle
Short Description Everlution mandrill bundle for Symfony framework
License MIT
Informations about the package mandrill-bundle
Mandrill Bundle
This Symfony bundle provides mail system and request processors for Email Bundle. Bundle use Mandrill transactional email platform.
Installation
Enable the bundle
Configure the bundle
Following configuration snippet describes how to configure the bundle.
Firstly, you must modify EmailBundle configuration to work with MandrillBundle's services.
Secondly, you must configure MandrillBundle itself
async_mandrill_sending - If it is true, then Mandrill use a background sending mode that is optimized for bulk sending. In async mode, Mandrill will immediately return a status of "queued" for every message. This is a recommended setting, because bundle is able to handle message events, which describe message state, later and fully automatically.
enforced_delivery_address - [Optional] Email address, which will be used to override recipient address in every outbound message. Changes are fully transparent and data stored in database is not affected by this transformation. Warning: Mail system ID could be associated with wrong recipient due to Mandrill API limitations. This limitation could lead to incorrect 'outbound message event' handling.
Usage
Message transformers
Mail system service provided by this bundle transform OutboundMessage into JSON and then POST this JSON to Mandrill API. However, this JSON can be modified just before it is posted to Mandrill. To do this you must create a service, which implements RawMessageTransformer interface and add following tag:
TODO
- Request signature calculation
- Webhook keys configuration
All versions of mandrill-bundle with dependencies
symfony/http-kernel Version >=2.5|>=3.0|>=4.0
symfony/config Version >=2.5|>=3.0|>=4.0
symfony/dependency-injection Version >=2.5|>=3.0|>=4.0
mandrill/mandrill Version 1.0.*
everlutionsk/email-bundle-2 Version 1.3.*