Koozali.org: home of the SME Server

confidentiality clause

secohanahh

confidentiality clause
« on: January 05, 2007, 05:09:54 PM »
Hi i am looking for adding a confidentiality clause at the end of each outgoin email (all email) on sme 7 box have any ideas, the only way that i have came up to is modifing horde script imp/compose.php and add the cluase when they are about to send the mail, I haven't test it but i think it migth work well but this only will work fot the users that use webmail but what about the ones that use email clients like outlook.  Any ideas for this???
tanks in advance.[/b]

secohanahh

with horde works
« Reply #1 on: January 05, 2007, 06:20:16 PM »
i was looking at compose.php locate at  /home/httpd/html/horde/imp/ to add the clause i want and see this function _baseMessage at this peace of code:


Code: [Select]

   /* Get trailer message (if any). */
    $trailer = null;
    if ($final_msg &&
        $GLOBALS['conf']['msg']['append_trailer'] &&
        @is_readable(IMP_BASE . '/config/trailer.txt')) {
        require_once 'Horde/Text/Filter.php';
        $trailer = Text_Filter::filter("\n" . file_get_contents(IMP_BASE . '/config/trailer.txt'), 'environment');
        /* If there is a user defined function, call it with the current
           trailer as an argument. */
        if (!empty($GLOBALS['conf']['hooks']['trailer'])) {
            require_once HORDE_BASE . '/config/hooks.php';
            if (function_exists('_imp_hook_trailer')) {
                $trailer = call_user_func('_imp_hook_trailer', $trailer);
            }
        }
    }


there is apart that look for trailer file this add the content of the file trailer (config/trailer.txt) once its set to do so in the file config/conf.php it works fine but still i want to be in all outgoin messages and this only work in webmail and other email clients like outlook dont.

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: confidentiality clause
« Reply #2 on: January 08, 2007, 09:54:31 PM »
Quote from: "secohanahh"
Hi i am looking for adding a confidentiality clause at the end of each outgoin email (all email) on sme 7 box

E-mail disclaimers have been discussed many times before in this forum. For example:

http://forums.contribs.org/index.php?topic=35027.0
http://forums.contribs.org/index.php?topic=20167.msg79340#msg79340
............