File: example.php

Recommend this page to a friend!
  Classes of Richard Carson  >  PHP Template Based Notification Emails  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example usage
Class: PHP Template Based Notification Emails
Send email notifications using templates
Author: By
Last change:
Date: 7 years ago
Size: 265 bytes
 

Contents

Class file image Download
<?php
   
include('notifications.class.php');

   
$parameters = array(
       
'target_email' => 'example@change.this',
       
'my_email' => 'example@change.this',
       
'event' => 'test',
       
'time' => date('M jS Y g:i A')
    );
   
notifications::notify('example_template', $parameters);
?>

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