An open API service indexing awesome lists of open source software.

https://github.com/ntidev/emailbundle

Logging email bundle for Swiftmailer. Gives you the ability to log in a database the messages being sent for possible resending and auditing.
https://github.com/ntidev/emailbundle

Last synced: 11 months ago
JSON representation

Logging email bundle for Swiftmailer. Gives you the ability to log in a database the messages being sent for possible resending and auditing.

Awesome Lists containing this project

README

          

# NTIEmailBundle

### Installation

1. Install the bundle using composer:

```
$ composer require ntidev/email-bundle "dev-master"
```

2. Add the bundle configuration to the AppKernel

```
public function registerBundles()
{
$bundles = array(
...
new NTI\EmailBundle\NTIEmailBundle(),
...
);
}
```

3. Update the database schema

```
$ php app/console doctrine:schema:update
```

### Usage

### Cronjob

Schedule the following cronjob to check and send emails in the queue:

```
# /etc/crontab
# ...
# NTIEmailBundle
* * * * * [user] php /path/to/project/app/console nti:email:check

```