Eventum PHP Cross Reference Customer Relationship Management

Source: /route_emails.php - 39 lines - 2285 bytes - Summary - Text - Print

   1  #!/usr/bin/php
   2  <?php
   3  /* vim: set expandtab tabstop=4 shiftwidth=4 encoding=utf-8: */
   4  // +----------------------------------------------------------------------+
   5  // | Eventum - Issue Tracking System                                      |
   6  // +----------------------------------------------------------------------+
   7  // | Copyright (c) 2003 - 2008 MySQL AB                                   |
   8  // | Copyright (c) 2008 - 2010 Sun Microsystem Inc.                       |
   9  // | Copyright (c) 2011 - 2013 Eventum Team.                              |
  10  // |                                                                      |
  11  // | This program is free software; you can redistribute it and/or modify |
  12  // | it under the terms of the GNU General Public License as published by |
  13  // | the Free Software Foundation; either version 2 of the License, or    |
  14  // | (at your option) any later version.                                  |
  15  // |                                                                      |
  16  // | This program is distributed in the hope that it will be useful,      |
  17  // | but WITHOUT ANY WARRANTY; without even the implied warranty of       |
  18  // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        |
  19  // | GNU General Public License for more details.                         |
  20  // |                                                                      |
  21  // | You should have received a copy of the GNU General Public License    |
  22  // | along with this program; if not, write to:                           |
  23  // |                                                                      |
  24  // | Free Software Foundation, Inc.                                       |
  25  // | 59 Temple Place - Suite 330                                          |
  26  // | Boston, MA 02111-1307, USA.                                          |
  27  // +----------------------------------------------------------------------+
  28  // | Authors: João Prado Maia <jpm@mysql.com>                             |
  29  // +----------------------------------------------------------------------+
  30  
  31  ini_set('memory_limit', '1024M');
  32  require_once  'init.php';
  33  
  34  $full_message = stream_get_contents(STDIN);
  35  $return = Routing::route_emails($full_message);
  36  if (is_array($return)) {
  37      echo $return[1];
  38      exit($return[0]);
  39  }

title

Description

title

Description

title

Description

title

title

Body