PHP Classes

File: runner.php

Recommend this page to a friend!
  Classes of Eustaquio Rangel de Oliveira Jr.  >  PHP Delayed Email class  >  runner.php  >  Download  
File: runner.php
Role: Example script
Content type: text/plain
Description: Class source
Class: PHP Delayed Email class
Queue email messages in files to send them later
Author: By
Last change: New runner option, -q, to avoid keep it on a loop.
Date: 2 months ago
Size: 624 bytes


Class file image Download
 * Fire all the emails on the queue
 * PHP version 5.3
 * @category Main
 * @package DelayedMail
 * @author Eustáquio Rangel <>
 * @license GPLv2
 * @link
if (file_exists("vendor")) {
"- loading from composer\n";
} else {
$dir = dirname(__FILE__);
"- loading classes from $dir\n";

$options = getopt("q");

$sender = new DelayedMail\Sender(5, "delayedmail.ini");

For more information send a message to info at phpclasses dot org.