DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Introduction

What does it do?

This extension adds an entry “External provider” to the drop-down list of Direct Mail’s recipient list definition:

List of recipient prepared with a provider

This special type of recipient list lets you dynamically generate the list of recipients.

In short, this means that with a standard user function, you are able to use any logic you wish to define the recipients. A typical example would be to read the information from an external source, such as a legacy application or a custom database table. Another example, if having an Extbase-based extension, would be to reuse your domain model and use it as a source to feed the recipient list.

Screenshots

Overview of the configuration of a dynamic list of recipients
  1. Icon Valid user function confirms that the provider definition is valid (class \Causal\DirectMailUserfunc\Samples\TestList was found and method “myRecipientList” exists).
  2. Icon Wizard available informs you that a wizard is available to configure the additional parameters. Simply click on it to invoke a user-generated script.

In case either the class or the method was not found, an warning message is shown that explains what is wrong with the provider definition.

User specified an invalid or not included class or a valid class but an invalid method:

Invalid or not loaded class or invalid method

Providers may be registered to enhance the user experience:

Registered providers