source: trunk/help/enviasugestao.php @ 1100

Revision 1100, 1.5 KB checked in by niltonneto, 15 years ago (diff)

Ticket #475 - Preparação do link Sugestões para usar vários templates.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<?php
2        /**************************************************************************\
3        * eGroupWare - Online User manual                                          *
4        * http://www.eGroupWare.org                                                *
5        * Written and (c) by RalfBecker@outdoor-training.de                        *
6        * --------------------------------------------                             *
7        *  This program is free software; you can redistribute it and/or modify it *
8        *  under the terms of the GNU General Public License as published by the   *
9        *  Free Software Foundation; either version 2 of the License, or (at your  *
10        *  option) any later version.                                              *
11        \**************************************************************************/
12
13        /* $Id: index.php,v 1.13 2004/04/13 08:19:10 ralfbecker Exp $ */
14
15$GLOBALS['phpgw_info']['flags'] = array(
16                                        'currentapp' => 'help',
17                                        'nonavbar'   => true,
18                                        'noheader'   => true,
19                                        );
20
21include('../header.inc.php');
22if($_POST){
23        $params['input_to'] = $_POST['to'];
24        $params['input_cc'] = $_POST['cc'];
25        $params['input_cc'] = $_POST['cco'];
26        $params['input_subject'] = $_POST['subject'];
27        $params['body'] = $_POST['body'];
28        $expressoMail = CreateObject('expressoMail1_2.imap_functions');                 
29        $returncode = $expressoMail->send_mail($params);
30        if (!$returncode) {
31                echo "$to<Br>$subject<br>$tmpbody<br>$sender<br>\n";
32                echo '<i>'.$send->err['desc']."</i><br>\n";
33                exit;           
34        }
35        else{
36                ExecMethod('help.uihelp.viewSuccess');
37        }
38}
39else {
40        ExecMethod('help.uihelp.viewSuggestions');
41}
42?>
Note: See TracBrowser for help on using the repository browser.