Plugin: view_log.cgi - View Logs Created by Mojo Mail

This plugin allows you to view the Mojo, Error and SMTP logs that Mojo Mail creates in its activities through your web browser.

Installation

Upload log_viewer.cgi into your cgi-bin. We suggest you create a 'plugins' directory in the same directory that the mojo.cgi script is in. For example. If mojo.cgi is at:

 /home/account/cgi-bin/mojo/mojo.cgi

create a directory called plugins at:

  /home/account/cgi-bin/mojo/plugins

and upload this script into that directory:

 /home/account/cgi-bin/mojo/plugins/log_viewer.cgi

Once uploaded in plain text or ASCII mode, chmod the script to 755.

Add this entry to the $ADMIN_MENU array ref:

         {-Title          => 'View Logs', 
          -Title_URL      => $PLUGIN_URL."/log_viewer.cgi",
          -Function       => 'log_viewer',
          -Activated      => 1, 
          },

It's possible that this has already been added to $ADMIN_MENU and all you would need to do is uncomment this entry.


COPYRIGHT

Copyright (c) 1999 - 2003 Justin Simoni me@justinsimoni.com http://justinsimoni.com

All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License 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.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.