Download the PHP package texxasrulez/scheduled_sending without Composer

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

Scheduled Sending

Downloads Packagist Downloads Packagist Version Github License GitHub Stars GitHub Issues GitHub Contributors GitHub Forks Donate Paypal

Schedule messages to be transmitted when you want them to go, including messages with attachments.

Scheduled Sending — Installation Guide for Roundcube

This plugin lets users schedule emails to be sent later. It includes a web UI, localization, and CLI helpers to trigger a queue worker that delivers messages when they’re due.

This guide covers both Composer-based and manual installation, database setup, configuration, and setting up the worker trigger (cron/systemd).


1) Requirements


2) Install the plugin

Option A — Composer (preferred)

  1. Place the plugin in a VCS or local path that Composer can reference.
  2. Ensure your Roundcube root has the Roundcube plugin installer in require (most distros do):

  3. Add a repository that points to the plugin (adjust the path):

  4. Run:

Composer will install the plugin under plugins/scheduled_sending (per its composer.json).

Option B — Manual install

  1. Unzip the plugin into Roundcube’s plugins directory:

  2. Ensure permissions match your web server user:

3) Database schema

Create the queue table (MySQL/MariaDB):

If you use a database other than MySQL/MariaDB, adapt the SQL accordingly.


4) Configuration

Copy the example config and edit it:

Key options (from config.inc.php.dist):

Important: set a strong scheduled_sending_worker_token (32+ random characters).

Set scheduled_sending_logging to true to write normal plugin and worker entries to the scheduled_sending Roundcube log. Set scheduled_debug to true only when you need the more detailed diagnostic trace written to scheduled_sending_debug.

When scheduled_sending_delivery is smtp, scheduled rows store the scheduling user's SMTP username and encrypted SMTP password in meta_json when available. This lets the worker send later with the same Roundcube SMTP credentials in multi-user installations.


5) Enable the plugin in Roundcube

Edit your Roundcube main config (e.g. config/config.inc.php) and add the plugin name:

Clear Roundcube caches if needed (e.g., remove temp/* & cache/* contents, keeping the dirs).


6) Queue worker — how delivery is triggered

The plugin exposes an HTTP worker action that sends all messages scheduled at or before “now”. The worker requires the token from your config.inc.php.

Worker URL shape:

There are two convenient ways to call it periodically:

A) Via provided CLI helper (recommended)

Examples:

Cron: run once per minute (or every 5 minutes if your use-case is lax):

B) Direct HTTP call (curl/wget)

Cron variant:

The worker is idempotent and gated by a lock (scheduled_sending_lock_key / timeout) to avoid overlap.


7) Verifying

  1. Log in to Roundcube, compose a message, pick a future time, and schedule.
  2. Confirm a row is added to the scheduled_queue table.
  3. Ensure your cron/systemd job runs; the message should send at/after the scheduled time.
  4. Check logs:
    • Web server access/error logs
    • logs/ or a dedicated log (the plugin writes via rcube::write_log('scheduled_sending', ...) when scheduled_sending_logging is enabled)
  5. Confirm sent messages land in the configured Sent folder (if set).

8) Troubleshooting


9) Uninstall


10) File map (high-level)


That’s it. Once the table exists, the config is set (especially _token), and the cron/systemd job is running, scheduled emails will go out on time.

Enjoy!

:moneybag: Donations :moneybag:

If you use this plugin and would like to show your appreciation by buying me a cup of coffee, I surely would appreciate it. A regular cup of Joe is sufficient, but a Starbucks Coffee would be better ... \ Zelle (Zelle is integrated within many major banks Mobile Apps by default) - Just send to texxasrulez at yahoo dot com \ No Zelle in your banks mobile app, no problem, just click Paypal and I can make a Starbucks run ...

I appreciate the interest in this plugin and hope all the best ...

Versioning

For a release bump:

  1. Update scheduled_sending::PLUGIN_VERSION in scheduled_sending.php or run sh scripts/bump-version.sh 1.0.0.
  2. Update CHANGELOG.md.
  3. Create the matching release tag after verification.

All versions of scheduled_sending with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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 texxasrulez/scheduled_sending contains the following files

Loading the files please wait ...