chaplean / mailer-bundle
Contains utilities for mailer
Installs: 3 205
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.0.8
- symfony/config: ^3.0 || ^4.0
- symfony/console: ^3.0 || ^4.0
- symfony/dependency-injection: ^3.0 || ^4.0
- symfony/monolog-bundle: ~3.0 || ^4.0
- symfony/swiftmailer-bundle: ~3.0
- symfony/yaml: ^3.0 || ^4.0
Requires (Dev)
- chaplean/codeship-scripts: ^1.0
- chaplean/coding-standard: ^1.1
- mockery/mockery: dev-master
- phpunit/phpunit: ^7.0
- symfony/http-kernel: ^3.0 || ^4.0
- symfony/var-dumper: ^3.0 || ^4.0
README
Prerequisites
This version of the bundle requires Symfony 2.8+.
Installation
1. Composer
composer require chaplean/mailer-bundle
2. Register bundle
Add in AppKernel
:
new Chaplean\Bundle\MailerBundle\ChapleanMailerBundle(),
3. Configuration
Include configuration in config.yml
chaplean_mailer: bcc_address: '<email_reference>' bounce_address: '<email_reference>' sender_address: '<no_reply_email>' sender_name: '<sender_name>' subject: prefix: '<prefix>' test: false disabled_email_extensions: ['<domain>'] # default empty amazon_tags: # optional, add amazon tag in header message configuration_set: <> # required, use in X-SES-CONFIGURATION-SET project_name: <project_name> # required, use in X-SES-MESSAGE-TAGS env: <environement> # required, use in X-SES-MESSAGE-TAGS
Note:
SwiftmailerBundle configuration is included by this bundle
# Swiftmailer Configuration swiftmailer: transport: '%mailer_transport%' host: '%mailer_host%' port: '%mailer_port%' username: '%mailer_user%' password: '%mailer_password%' encryption: '%mailer_encryption%' spool: { type: memory }