Developed with love by KnpLabs Hire us for your project!
48

HBStampieBundle

by henrikbjorn

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
Copyright (c) Henrik Bjornskov <henrik@bjrnskov.dk>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
hb_stampie:
mailer: ~ # Required
server_token: ~ # Required
adapter: ~ # Required
extra:
delivery_address: ~
logging: false
  • Merge pull request #13 from pulse00/patch/injection-fix
    By henrikbjorn, 1 year ago
  • fixed compiler pass, added mailer command
    By pulse00, 1 year ago
  • Merge pull request #12 from pulse00/feature/guzzle
    By henrikbjorn, 1 year ago
  • added guzzle support
    By pulse00, 1 year ago
  • Merge pull request #10 from stof/patch-1
    By henrikbjorn, 3 years ago
  • Allow latest Symfony versions
    By stof, 3 years ago
  • Merge pull request #9 from Incenteev/fix_event_listener
    By henrikbjorn, 3 years ago
  • Fixed the removal of event listeners
    By stof, 3 years ago
  • Add LICENSE file via addalicense.com
    By henrikbjorn, 3 years ago
  • Allow Symfony 2.3 LTS
    By henrikbjorn, 3 years ago
  • Merge pull request #7 from stloyd/patch-1
    By henrikbjorn, 3 years ago
  • Update composer.json
    By stloyd, 3 years ago
  • Update .travis.yml
    By henrikbjorn, 3 years ago
  • Merge pull request #6 from stof/patch-1
    By henrikbjorn, 3 years ago
  • Updated the composer.json
    By stof, 3 years ago
  • Merge pull request #5 from adrienbrault/data-collector
    By henrikbjorn, 4 years ago
  • Add a DataCollector and integrate into the web profiler
    By adrienbrault, 4 years ago
  • Merge pull request #3 from LogSafe/extra
    By henrikbjorn, 4 years ago
  • Merge pull request #4 from LogSafe/mandrill
    By henrikbjorn, 4 years ago
  • Added the support of the Mandrill mailer
    By stof, 4 years ago
  • Added the possibility to configure StampieExtra
    By stof, 4 years ago
  • Removed useless autoloading code
    By stof, 4 years ago
  • Fixed the composer autoload for tests
    By stof, 4 years ago
  • Add NoopAdapter Service
    By henrikbjorn, 4 years ago
  • Fix #2
    By henrikbjorn, 4 years ago
  • Add MailGun service declarations
    By henrikbjorn, 4 years ago
  • Merge pull request #1 from kbond/patch-1
    By henrikbjorn, 5 years ago
  • Updated config to make mailer services abstract.
    By kbond, 5 years ago
  • composer
    By henrikbjorn, 5 years ago
  • add travis [ci skip]
    By henrikbjorn, 5 years ago