Gossamer Forum
Home : Products : Gossamer Mail : Development, Plugins and Globals :

Re: [brewt] Plugins in GMail

Quote Reply
Re: [brewt] Plugins in GMail In reply to
Hi,

Thanks for the reply. I'm still stuck though :(

Here's what I have so far:

Code:
#!/usr/local/bin/perl -w
# ==================================================================
# Gossamer Mail - enhanced email management system
#
# Website : http://gossamer-threads.com/
# Support : http://gossamer-threads.com/scripts/support/
# CVS Info : 087,070,083,091,083
# Revision : $Id: logout.cgi,v 1.23 2006/11/15 18:19:42 brewt Exp $
#
# Copyright (c) 2003 Gossamer Threads Inc. All Rights Reserved.
# Redistribution in part or in whole strictly prohibited. Please
# see LICENSE file for full details.
# ==================================================================

use strict;
use lib '/var/home/domain/domain.com/cgi-bin/mail/admin';
use GMail qw/:folders :objects/;
use GMail::Auth;
use GMail::NoAuth;

GMail::init('/var/home/domain/domain.com/cgi-bin/mail/admin');

$| = 1;
local $SIG{__DIE__} = \&GMail::fatal;

print $IN->header();

my $action= $IN->param('do');

if (!$action) {
# show HTML page showing their memos
# GMail->print_page('memo_main.html', @tags);
GMail->print_page('memo_main.html');
#GT::Template->parse( 'memo_main.html' );
} elsif ($action eq "add") {
# show page for adding a memo
} elsif ($action eq "delete") {
# show page for deleting a memo
} elsif ($action eq "modify") {
# show page for modifying a memo
}

As you may guess - this is for a "Memo" system :)

TIA!

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!

Last edited by:

Andy: Aug 21, 2007, 2:21 AM
Subject Author Views Date
Thread Plugins in GMail Andy 13807 Aug 20, 2007, 5:41 AM
Post Re: [Andy] Plugins in GMail
Andy 13505 Aug 20, 2007, 5:47 AM
Thread Re: [Andy] Plugins in GMail
brewt 13489 Aug 20, 2007, 11:54 PM
Thread Re: [brewt] Plugins in GMail
Andy 13535 Aug 21, 2007, 2:18 AM
Thread Re: [Andy] Plugins in GMail
brewt 13467 Aug 22, 2007, 3:31 AM
Thread Re: [brewt] Plugins in GMail
Andy 13530 Aug 22, 2007, 3:49 AM
Thread Re: [Andy] Plugins in GMail
brewt 13485 Aug 22, 2007, 7:53 PM
Post Re: [brewt] Plugins in GMail
Andy 13479 Aug 23, 2007, 12:54 AM
Post Re: [brewt] Plugins in GMail
Andy 13534 Aug 22, 2007, 1:34 AM