Skip to main content

Mailing extended

This module adds the ability to create mail lists and send e-mails.

If this module is active, a button will be appended to index page of MailMessage resource to send an e-mail.

Installation

To install this module:

composer require qore/mailing-extended
php artisan vendor:publish --tag=qore.mailing-extended.db
php artisan vendor:publish --tag=qore.mailing-extended.frontend

Usage

Make sure to migrate (php artisan tenants:migrate)

To use this module:

This module simply adds a resource (MaillistResource) and a page to send e-mails.

You can add this somewhere in your menu (in GlobalsController):

if (module_is_active('qore/mailing-extended')) {
$tab->addResourceMenuItem(resource('mail_lists'));
$tab->addMenuItem(
__('Send e-mail'),
'/send-mail',
['mail management'],
fn (MenuItem $item) => $item->setIcon('mail')
);
}

Upgrade Guide

To upgrade this module:

composer update qore/mailing-extended

If you need to upgrade migrations or Vue components:

php artisan vendor:publish --tag=qore.mailing-extended.db --force
php artisan vendor:publish --tag=qore.mailing-extended.frontend --force