PHP HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Command
DataCollector
DependencyInjection
EventListener
Resources
Tests
.gitignore
.travis.yml
HBStampieBundle.php
LICENSE.txt
README.md
composer.json
phpunit.xml.dist

README.md

HBStampieBundle

Build Status

Integrates Stampie with Symfony2.

Usage

Add HB\StampieBundle\HBStampieBundle() to your AppKernel.php in the registerBundles method.

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

For the buzz adapter to work it is required to have a buzz service fortunately SensioBuzzBundle provides this.

If you want to use the guzzle adapter, the MisdGuzzleBundle provides the required dependencies.

StampieExtra

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: dev@example.com