themindoffice/newsletter

Add newsletter addon to Iris

1.0.0 2022-10-04 07:37 UTC

This package is auto-updated.

Last update: 2024-04-28 12:26:35 UTC


README

Newsletter is a Iris library for generating forms. Useless if you don't use Iris CMS.

Installation

  1. Run command:
composer require "themindoffice/newsletter" @dev

(Stable version coming soon)

  1. Copy 'vendor/themindoffice/newsletter/src/' to 'modules/Addons'
  2. Go to your-local-domain.test/newsletter/install

This function add the needed tables and components.

  1. Create 'detail_iris_nieuwsbrieven.php' in 'resource/templates'

Usage

  1. Add this in your .env file with the right credentials. Make sure the domain is whitelisted at Mandrill.
APP_DOMAIN=https://example.com

MAIL_FROM_ADDRESS=example@mail.com
MAIL_FROM_NAME="Example"
  1. Set the cronjob for sending.