PHP Classes

File: test/test.php

Recommend this page to a friend!
  Classes of Eustaquio Rangel de Oliveira Jr.  >  PHP Delayed Email class  >  test/test.php  >  Download  
File: test/test.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Delayed Email class
Queue email messages in files to send them later
Author: By
Last change: Setting the message type.
Date: 2 months ago
Size: 571 bytes


Class file image Download
include_once "../delayedmail.php";

$server = new DelayedMail\Server("delayedmail.ini");
$msg = new DelayedMail\Message();
$msg->from("taq <>")->
to("Eustaquio Rangel <>")->
cc("Eustaquio Rangel <>")->
subject("DelayedMail test!")->
text("<h1>Hi!</h1><p>This is just\na test!</p>")->

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

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