Vincenzo,

> I don't understand: are you talking about the Forward mailet or something else? 
> Could you please be more specific?
Sorry, I'll try to explain.

> The Forward mailet, both in v2.1 and v2.2.0 (test builds), do already accept 
> multiple comma separated addresses. The same for all the new (v2.2.0) 
> AbstractRedirect family of mailets.
I've been using 2.1.3. In the users table there are two columns: 

        useforwarding
and
        forwarddestination

This fields get set if you do "setforwarding <username> <destination>"
via the manager.

So, for example, setting the forwarding for a user foo to another
address would look like:

"setforwarding foo [EMAIL PROTECTED]"

But if somebody would want to have multiple addresses, he'd type:

"setforwarding foo [EMAIL PROTECTED],[EMAIL PROTECTED]" 

and the following error will be displayed:
Parse exception with that email address: Invalid character at <n>
Forwarding address not added for foo

I don't know if its just the parser that handles the setforwarding
command or if it's a lack of support in general. 

If James, as you say, should support multiple forwarding addresses, then
I guess only the parser for the manager interface should be updated to
allow a comma in the address and put the complete string into the db.

The forwarding mailet then needs to parse the string to find all comma
separated addresses and send the mails there.

Is it more clear now or am
I talking nonsense? ;)

Lev.




> > -----Original Message-----
> > From: Levent Guendogdu [mailto:[EMAIL PROTECTED]
> > Sent: marted́ 5 agosto 2003 15.21
> > To: James Developers List
> > Subject: Setting forward address to multiple, comma separated, addresses
> > 
> > 
> > Hi all,
> > 
> > I was wondering if anyone thought about making James support a list of
> > comma separated addresses, that will be used for forwarding mails.
> > Currently, setforwarding <username> <emailaddress> accepts only one
> > address. 
> > 
> > I'd be willing to do it, but I'd like to know if anyone thought of it or
> > has any objections.
> > 
> > Thankies,
> > Lev.
> > 
> > -- 
> > Levent Guendogdu <[EMAIL PROTECTED]>
> > Feature-IT Information Technology
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to