nti/email-bundle

Symfony NTIEmailBundle

Installs: 4 804

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 6

Forks: 4

Open Issues: 0

Type:symfony-bundle

v5.5.2 2024-04-24 14:05 UTC

README

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