Location: PHPKode > projects > ProNuke. Postnuke To Oracle > postnuke/html/modules/NS-MailUsers/admin/case/case.nukemail.php
<?php
// File: $Id: case.nukemail.php,v 1.2 2001/09/30 16:42:44 niceguyeddie Exp $ $Name:  $
// ----------------------------------------------------------------------
// POST-NUKE Content Management System
// Copyright (C) 2001 by the Post-Nuke Development Team.
// http://www.postnuke.com/
// ----------------------------------------------------------------------
// Based on:
// PHP-NUKE Web Portal System - http://phpnuke.org/
// Thatware - http://thatware.org/
// ----------------------------------------------------------------------
// LICENSE
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// To read the license please visit http://www.gnu.org/copyleft/gpl.html
// ----------------------------------------------------------------------
// Original Author of file:
// Purpose of file: Nuke MailUsers v1.0.0.beta1
// PHP-Nuke MailUsers Module for PHP-Nuke v5.0BETA
// Copyright (c) 2001 by Christopher Thorjussen (hide@address.com)
// http://www.nukemodules.com
// ----------------------------------------------------------------------
// Nuke MailUsers is a hack of the email_user script in
// PHP-Nuke AddOn v5.01
// Copyright (c)2001 Richard Tirtadji (hide@address.com)
// URL: http://www.nukeaddon.com
// ----------------------------------------------------------------------

if (!eregi('admin.php', $PHP_SELF))
{
  die ('Access Denied');
}

//FTO : remove warning

if (!isset($error)) $error="";
if (!isset($fromname)) $fromname="";
if (!isset($from)) $from="";
if (!isset($subject)) $subject="";
if (!isset($message)) $message="";
if (!isset($all)) $all="";
if (!isset($anonid)) $anonid="";

switch($op) {

    case 'send_email_to_user':
        include "modules/$ModName/admin/modules/nukemail.php";
        send_email_to_user($username, $fromname, $from, $subject, $message, $all, $anonid);
        break;

    case 'email_user':
        include "modules/$ModName/admin/modules/nukemail.php";
        MailUser($error, $fromname, $from, $subject, $message, $all);
        break;
}
?>
Return current item: ProNuke. Postnuke To Oracle