Enhance your Sylius store's mailing capabilities with this plugin. For now the plugin provides a logging mechanism for all emails sent from your store.
-
Require the plugin with Composer:
composer require setono/sylius-mailer-plugin
-
Add the plugin to your
config/bundles.php
file:return [ // ... Setono\SyliusMailerPlugin\SetonoSyliusMailerPlugin::class => ['all' => true], Sylius\Bundle\GridBundle\SyliusGridBundle::class => ['all' => true], // ... ];
Remember to add the plugin before the
SyliusGridBundle
. -
Import the plugin's routing configuration:
# config/routes/setono_sylius_mailer.yaml setono_sylius_mailer: resource: "@SetonoSyliusMailerPlugin/Resources/config/routes.yaml"
-
Run the database migrations:
bin/console doctrine:migrations:diff bin/console doctrine:migrations:migrate
After installation, the plugin will automatically log all emails sent from your Sylius store. You can view the logged emails in the admin panel under the "Mailer > Sent Emails" section.