Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chaplean/mailer-bundle
https://github.com/chaplean/mailer-bundle
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/chaplean/mailer-bundle
- Owner: chaplean
- Created: 2019-07-09T11:27:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-09T11:28:34.000Z (over 5 years ago)
- Last Synced: 2024-07-05T11:13:34.984Z (6 months ago)
- Language: PHP
- Size: 193 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Getting Started With Chaplean Mailer Bundle
===========================================# Prerequisites
This version of the bundle requires Symfony 2.8+.
# Installation
## 1. Composer
```bash
composer require chaplean/mailer-bundle
```## 2. Register bundle
Add in `AppKernel`:
```php
new Chaplean\Bundle\MailerBundle\ChapleanMailerBundle(),
```## 3. Configuration
Include configuration in `config.yml`
```yaml
chaplean_mailer:
bcc_address: ''
bounce_address: ''
sender_address: ''
sender_name: ''
subject:
prefix: ''
test: false
disabled_email_extensions: [''] # default empty
amazon_tags: # optional, add amazon tag in header message
configuration_set: <> # required, use in X-SES-CONFIGURATION-SET
project_name: # required, use in X-SES-MESSAGE-TAGS
env: # required, use in X-SES-MESSAGE-TAGS
```##### *Note*:
SwiftmailerBundle configuration is included by this bundle
```yaml
# Swiftmailer Configuration
swiftmailer:
transport: '%mailer_transport%'
host: '%mailer_host%'
port: '%mailer_port%'
username: '%mailer_user%'
password: '%mailer_password%'
encryption: '%mailer_encryption%'
spool: { type: memory }
```