Download the PHP package cpsit/typo3-mailqueue without Composer

On this page you can find all versions of the php package cpsit/typo3-mailqueue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package typo3-mailqueue

![Extension icon](Resources/Public/Icons/Extension.svg) # TYPO3 extension `mailqueue` [![Coverage](https://img.shields.io/coverallsCoverage/github/CPS-IT/mailqueue?logo=coveralls)](https://coveralls.io/github/CPS-IT/mailqueue) [![Maintainability](https://api.codeclimate.com/v1/badges/75952c5451dea0632fc0/maintainability)](https://codeclimate.com/github/CPS-IT/mailqueue/maintainability) [![CGL](https://github.com/CPS-IT/mailqueue/actions/workflows/cgl.yaml/badge.svg)](https://github.com/CPS-IT/mailqueue/actions/workflows/cgl.yaml) [![Release](https://github.com/CPS-IT/mailqueue/actions/workflows/release.yaml/badge.svg)](https://github.com/CPS-IT/mailqueue/actions/workflows/release.yaml) [![License](http://poser.pugx.org/cpsit/typo3-mailqueue/license)](LICENSE.md)\ [![Version](https://shields.io/endpoint?url=https://typo3-badges.dev/badge/mailqueue/version/shields)](https://extensions.typo3.org/extension/mailqueue) [![Downloads](https://shields.io/endpoint?url=https://typo3-badges.dev/badge/mailqueue/downloads/shields)](https://extensions.typo3.org/extension/mailqueue) [![Supported TYPO3 versions](https://shields.io/endpoint?url=https://typo3-badges.dev/badge/mailqueue/typo3/shields)](https://extensions.typo3.org/extension/mailqueue) [![Extension stability](https://shields.io/endpoint?url=https://typo3-badges.dev/badge/mailqueue/stability/shields)](https://extensions.typo3.org/extension/mailqueue) 📦 [Packagist](https://packagist.org/packages/cpsit/typo3-mailqueue) | 🐥 [TYPO3 extension repository](https://extensions.typo3.org/extension/mailqueue) | 💾 [Repository](https://github.com/CPS-IT/mailqueue) | 🐛 [Issue tracker](https://github.com/CPS-IT/mailqueue/issues)

An extension for TYPO3 CMS that extends TYPO3's mail spooling functionality with an extended queueable mail transport interface. In addition, it provides an improved version of TYPO3's FileSpooler. In order to make mails in the mail queue visible, the extension provides an (admin-only) backend module and console commands to list and flush the mail queue.

🚀 Features

🔥 Installation

Composer

TER

Alternatively, you can download the extension via the TYPO3 extension repository (TER).

⚡ Usage

[!NOTE] In order to use a queueable mail transport, you need to configure it in your system settings, along with the required transport settings.

Concept

The extension builds on TYPO3's mail spooling feature. It provides an extended interface CPSIT\Typo3Mailqueue\Mail\Transport\QueueableTransport for TYPO3\CMS\Core\Mail\DelayedTransportInterface with additional methods to enqueue and dequeue mails:

Recoverable transports

Next to the QueueableTransport interface there exists an extended interface CPSIT\Typo3Mailqueue\Mail\Transport\RecoverableTransport. It allows to recover stuck mails with a configured recover timeout:

Backend module

[!NOTE] Only administrators can see the backend module.

The backend module lists all currently enqueued mails. In addition, for supported transports it may also show transport failure details. It can be used to get a quick overview about the health state of the mail queue. It also allows to dequeue single mails from the mail queue by sending them with the configured real transport.

Console commands

Flush queue

The extension provides a console command to flush the mail queue:

The number of mails to be sent can be limited with --limit (or -l). If no limit is passed, the whole mail queue is flushed.

For transports implementing the RecoverableTransport interface, the recover timeout can be configured with --recover-timeout (or -r).

When using --json (or -j), user-oriented output is written to stderr and result messages are written in JSON format to stdout.

List queue

The extension provides a console command to list enqueued mails:

With --strict (or -s) enabled, the command exits with a non-zero exit code in case any enqueued mail could not be delivered because of a failure.

In addition, a watch mode can be enabled with --watch (or -w) which updates the list every five seconds. The watch mode can be exited with Ctrl+C.

Available transports

The extension provides two custom implementations as XClasses for TYPO3's native mail spoolers:

TYPO3 core implementation Custom implementation (XClass)
TYPO3\CMS\Core\Mail\FileSpool CPSIT\Typo3Mailqueue\Mail\Transport\QueueableFileTransport
TYPO3\CMS\Core\Mail\MemorySpool CPSIT\Typo3Mailqueue\Mail\Transport\QueueableMemoryTransport

📂 Configuration

Mail settings

Queueable mail transports are registered the "normal" way as described in the official TYPO3 core documentation. Add the following to your system configuration (e.g. in additional.php/AdditionalConfiguration.php):

Extension configuration

The following extension configuration options are available:

Configuration key Description Required Default
queue.delayThreshold Number in seconds after which a mail in the queue is considered "delayed" 1800
pagination.itemsPerPage Number of mails to display on a single page in backend module 20

🧑‍💻 Contributing

Please have a look at CONTRIBUTING.md.

💎 Credits

The extension icon ("envelope-open") as well as the icon for the backend module are modified versions of the original actions-envelope-open icon from TYPO3 core which is originally licensed under MIT License.

⭐ License

This project is licensed under GNU General Public License 2.0 (or later).


All versions of typo3-mailqueue with dependencies

PHP Build Version
Package Version
Requires php Version ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
ext-mbstring Version *
psr/http-message Version ^1.0 || ^2.0
symfony/console Version ^5.4 || ^6.4 || ^7.0
symfony/mailer Version ^5.4 || ^6.4 || ^7.0
symfony/mime Version ^5.4 || ^6.4 || ^7.0
typo3/cms-backend Version ~11.5.0 || ~12.4.0 || ~13.4.0
typo3/cms-core Version ~11.5.0 || ~12.4.0 || ~13.4.0
typo3/cms-fluid Version ~11.5.0 || ~12.4.0 || ~13.4.0
typo3fluid/fluid Version ^2.15 || ^4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package cpsit/typo3-mailqueue contains the following files

Loading the files please wait ....