<?php
/**
 *
 * @package    mahara
 * @subpackage core
 * @author     Andrew Nicols <andrew.nicols@luns.net.uk>
 * @license    https://www.gnu.org/licenses/gpl-3.0.html GNU GPL version 3 or later
 * @copyright  For copyright information on Mahara, please see the README file distributed with this software.
 * @copyright  (C) 2009 Lancaster University Network Services Limited
 *                      http://www.luns.net.uk
 */

define('INTERNAL', 1);
define('PUBLIC_ACCESS', 1);
define('TITLE', '');

require(dirname(dirname(__FILE__)).'/init.php');

$address = getenv('RECIPIENT');

log_debug('---------- started  processing email at ' . date('r', time()) . ' ----------');
log_debug('-- mail from ' . $address );

$email = process_email($address);

log_debug('---------- finished processing email at ' . date('r', time()) . ' ----------');
