Download the PHP package taq/delayedmail without Composer

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

Delayed Mail for PHP

This is a simple app for sending emails through PHP without blocking sending and waiting answer from the SMTP server. It provides some classes as:

How it works

First we need the server configurations. There is a sample file on the test dir, called delayedmail.ini:

The only different parameter there is the path parameter. This is where the mail files will be stored.

VERY IMPORTANT

If you use two-phase authentication on a Gmail account, sending emails with this library will not work. You need a less secure account to make it works.

Storing messages to send later

The data store used are just regular plain text files. They are stored on the path configured above. On that dir there will be another two subdirs:

How to use it

Queuing messages

Just include the delayedmail.php on your app, create a new Server object, configure it, compose and queue a new message:

If you check the delivery dir now, there will be a file there with the message contents.

You can use arrays on attach and cc.

Running the runner

Just edit the runner.php file with the desired interval and configuration file (usually the same config file as the server) and run it from the command line:

Testing

Sending emails

Go to the test directory, configure the delayedmail.ini and test.php files to the configs you want, and run:

And then check your email app on the addresses you configured.

Code

Run composer update, go to the test directory and run:


All versions of delayedmail with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.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 taq/delayedmail contains the following files

Loading the files please wait ....