Skip to content

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

License

Notifications You must be signed in to change notification settings

ealcantara22/EmailBundle

 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%