PHP Classes

File: config.php

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

Contents

Class file image Download
<?php
   
class smtp_config
   
{
        const
SMTP_HOST = 'ssl://smtp.gmail.com';
        const
SMTP_PORT = '465';
        const
SMTP_USER = '<YOUR EMAIL ADDRESS>';
        const
SMTP_PASS = '<YOUR EMAIL PASSWORD>';
        const
SMTP_FROM = '<YOUR EMAIL ADDRESS>';
        const
SMTP_AUTH = true;
        const
NOTIFICATION_TIMEOUT = 120;
        public static
$action_templates = array(
           
'example_template' => 'templates/example.tpl'
       
);
    }
?>