Integrates Stampie with Symfony2.
HB\StampieBundle\HBStampieBundle() to your
AppKernel.php in the
Add the configuration to
config.yml as follows
hb_stampie: adapter: buzz # buzz, guzzle and noop are supported mailer: postmark # [send_grid, mail_chimp, postmark] is supported server_token: POSTMARK_API_TEST # Replace with your ServerToken for you Service
buzz adapter to work it is required to have a
buzz service fortunately SensioBuzzBundle
If you want to use the
guzzle adapter, the MisdGuzzleBundle provides
the required dependencies.
This bundles allows you to use StampieExtra easily: add the extra library in your project and activate the configuration to wrap the mailer in the extra mailer dispatching events:
hb_stampie: extra: ~
If you want to enable the ImpersonateListener to send all emails to the same address, provide a non-empty delivery address:
hb_stampie: extra: delivery_address: email@example.com