Fwd: Re: Hide details from reply's

Chuck Hagenbuch <[email protected]> Mon, 06 Feb 2006 11:38:42 -0500
Newsgroups gmane.comp.horde.whups
Message-ID <[email protected]>
This message is in MIME format.

--=_5tlaognald44
Content-Type: text/plain;
	charset=ISO-8859-1;
	DelSp="Yes";
	format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable



----- Forwarded message from [email protected] -----
     Date: Mon, 06 Feb 2006 11:16:05 +0100
     From: Auke Bruinsma <[email protected]>
  Subject: Re: [whups] Hide details from reply's
       To: Chuck Hagenbuch <[email protected]>

Chuck Hagenbuch wrote:
> Quoting Auke Bruinsma <[email protected]>:
>
>
>> When using the mailscraper to convert support mails in tickets in a
>> commercial support envirment it can be undesirable to show the url to
>> the ticket in
>> the reply e-mail.  Also an reply  e-mail to the ticket requester on
>> every update is not always desirable. The same for including the state
>> (you don't always want your custumers to know what you think is the
>> priority of their request). So I would like to implement 4 extra preferen=
ces
>>
> [snip]
>
> If you're contemplating changes like this, how about considering =20
> going  all the way and simply defining a set of rules (recipient, =20
> queue,  etc...) by which to select a custom template for the email?
>
Sounds like a good idea. To implement this I would change the Driver.php
to replace strings like:
@@comment_placeholder@@
@@ticket_url@@ etc.
Those templates should be linked  to a queue (like the current states
and priorities etc.) You can link more as one template to a queue. And a
template should contain the definition for the recipient role it may be
used for. (it may only used for creators, or for everybody execpt creators)
or for a specified e-mail adres.
Also they get a priority.

If a queue contains multiple templates, which matches for the e-mail
recipient, the one with the highest priority will be used.

>> I assume creator/requestor are the same when a message is processed by
>> the Mail.php and mail-filter.php.
>>
>
> They should always be the same, no?
>
I don't know, I guess so, but why than the different words? I though
there whould be some kind of difference?
> -chuck
>
>
auke


----- End forwarded message -----


-chuck

--=20
"So we're talking near-sonic speeds for a vegetable."
Reasons to go to the Punkin Chunkin World Championships

--=_5tlaognald44
Content-Type: message/rfc822;
	name="Forwarded Message: Re: [whups] Hide details from reply's"
MIME-Version: 1.0

Return-Path: <[email protected]>
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on marina
X-Spam-Level: 
X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,
	FORGED_RCVD_HELO autolearn=ham version=3.1.0
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from localhost (localhost.localdomain [127.0.0.1])
	by marina.horde.org (Postfix) with ESMTP id C601A7F08E
	for <[email protected]>; Mon,  6 Feb 2006 05:16:09 -0500 (EST)
Received: from marina.horde.org ([127.0.0.1])
	by localhost (localhost.localdomain [127.0.0.1]) (amavisd-new,
	port 10024) with LMTP id 10154-08-2 for <[email protected]>;
	Mon, 6 Feb 2006 05:16:09 -0500 (EST)
Received: from coyote.horde.org (coyote.horde.org [199.175.137.146])
	by marina.horde.org (Postfix) with ESMTP id 4E7A77F06D
	for <[email protected]>; Mon,  6 Feb 2006 05:16:08 -0500 (EST)
Received: by coyote.horde.org (Postfix)
	id C0B5D350B3; Mon,  6 Feb 2006 02:16:07 -0800 (PST)
Delivered-To: [email protected]
Received: from tools4ev-mr0z2o.tools4ever.local (mail.tools4ever.com
	[80.127.205.178])
	by coyote.horde.org (Postfix) with ESMTP id 4CDBB35048
	for <[email protected]>; Mon,  6 Feb 2006 02:16:07 -0800 (PST)
Received: from [192.168.196.110] ([192.168.196.110] RDNS failed) by
	tools4ev-mr0z2o.tools4ever.local with Microsoft
	SMTPSVC(6.0.3790.1830); Mon, 6 Feb 2006 11:16:06 +0100
Message-ID: <[email protected]>
Date: Mon, 06 Feb 2006 11:16:05 +0100
From: Auke Bruinsma <[email protected]>
User-Agent: Thunderbird 1.6a1 (Windows/20060203)
MIME-Version: 1.0
To: Chuck Hagenbuch <[email protected]>
Subject: Re: [whups] Hide details from reply's
References: <[email protected]>
	<[email protected]>
In-Reply-To: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 06 Feb 2006 10:16:06.0013 (UTC)
	FILETIME=[573E32D0:01C62B06]


Chuck Hagenbuch wrote:
> Quoting Auke Bruinsma <[email protected]>:
>
>   
>> When using the mailscraper to convert support mails in tickets in a
>> commercial support envirment it can be undesirable to show the url to
>> the ticket in
>> the reply e-mail.  Also an reply  e-mail to the ticket requester on
>> every update is not always desirable. The same for including the state
>> (you don't always want your custumers to know what you think is the
>> priority of their request). So I would like to implement 4 extra preferences
>>     
> [snip]
>
> If you're contemplating changes like this, how about considering going  
> all the way and simply defining a set of rules (recipient, queue,  
> etc...) by which to select a custom template for the email?
>   
Sounds like a good idea. To implement this I would change the Driver.php 
to replace strings like:
@@comment_placeholder@@
@@ticket_url@@ etc.
Those templates should be linked  to a queue (like the current states 
and priorities etc.) You can link more as one template to a queue. And a 
template should contain the definition for the recipient role it may be 
used for. (it may only used for creators, or for everybody execpt creators)
or for a specified e-mail adres.
Also they get a priority.

If a queue contains multiple templates, which matches for the e-mail 
recipient, the one with the highest priority will be used.

>> I assume creator/requestor are the same when a message is processed by
>> the Mail.php and mail-filter.php.
>>     
>
> They should always be the same, no?
>   
I don't know, I guess so, but why than the different words? I though 
there whould be some kind of difference?
> -chuck
>
>   
auke

--=_5tlaognald44
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]

--=_5tlaognald44--