Skip to content

Latest commit

 

History

History
executable file
·
44 lines (30 loc) · 686 Bytes

README.md

File metadata and controls

executable file
·
44 lines (30 loc) · 686 Bytes

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