Download the PHP package sudhaus7/mail-spool without Composer

On this page you can find all versions of the php package sudhaus7/mail-spool. 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 mail-spool


Documentation

This is a Fork of https://github.com/r3h6/TYPO3.EXT.mail_spool

This extension integrates the swiftmailer spool transport for TYPO3 v8 and v9. The Spool Command has been rewritten to use the Symfony Console, and in 'file' mode the spooled E-Mails are written to the result of Environment::getVarPath()

Installation

With composer req sudhaus7/mail-spool

Configuration

You can configure the type of spool and the location where the messsages get stored in the extension configurations.

:spool: file Messages get stored to the file system till they get sent through the scheduler or cli command.

memory Messages get send at the end of the running process if no error occurs.

classname Custom class which implements the Swift_Spool interface.

Planned are spoolers for RabbitMQ and Beanstalk

:spool_file_path: Path to directory relative to Environment::getVarPath() where the spooled messages get stored. Should not be accessible from outside!

:transport_real: Transport used for sending e-mails. Default is same as defined in install tool.

:do_not_spool_syslog_messages: Send syslog messages immediatly through mail transport.

Integration

If you are using the file spool, you must set up an extbase scheduler task or execute the command "spool:send".

Scheduler

There is no direct Scheduler Option anymore, but the process can be scheduled with https://github.com/helhum/typo3-crontab

Commands (CLI)

See ./vendor/bin/typo3 mailspool:runspool -h for details.

If you like run the command as a daemon on linux systems you can try Upstart.

# Example

# /etc/init/myscript.conf
# sudo service myscript start
# sudo service myscript stop
# sudo service myscript status

# Your script information
description "Send spooled messages."
author      "R3H6"

# Describe events for your script
start on startup
stop on shutdown

# Respawn settings
respawn
# respawn limit COUNT INTERVAL
respawn limit unlimited

# Run your script!
script
/var/www/dev7.local.typo3.org/typo3/cli_dispatch.phpsh extbase spool:send --daemon >/dev/null 2>&1
end script

FAQ

After installing, no e-mails get send anymore, why? Please read the section "Integration".

Contributing

Bug reports and pull request are welcome through GitHub.


All versions of mail-spool with dependencies

PHP Build Version
Package Version
Requires typo3/cms-core Version ^8.7.0 || ^9.5.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 sudhaus7/mail-spool contains the following files

Loading the files please wait ....