You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by simon litwan <si...@wyona.com> on 2005/04/15 12:21:10 UTC

multiple Recipients in a notification

hi all
does somebody know how to separate several mailaddresses? i tried to
separate them with spaces or semicolons. but it just works with one
address.

cheers
simon


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: multiple Recipients in a notification

Posted by Andreas Hartmann <an...@apache.org>.
simon litwan wrote:
>>Michael Wechner wrote:
>>
>>>simon litwan wrote:
>>>
>>>
>>>>hi all
>>>>does somebody know how to separate several mailaddresses?
>>>
>>>
>>>I would assume that email addresses need to be separated by a blank or
>>>a carriage return, but maybe this was never tested properly and is buggy.
>>
>>You could try to use newlines, IIRC that works.
>>
>>I took a quick look at the code, it looks like the text area
>>content is just trimmed and fed into the SMTP object. It
>>ends up as the "to" variable in
>>
>>             errlog = errlog + "RCPT TO:<" + to + ">\n";
>>
>>(SMTP.java:111)
>>
>>which means you would probably have to separate them with "> <":
>>
>>   a@foo.com> <b...@foo.com> <c@foo.com
>>
>>There's certainly room for documentation and improvement.
> 
> 
> unfortunately it doesn't work either.
> maybe it's just not possible yet.
> should i open a bug for this issue?

Yes, that would be nice. Please add your observations and suggestions.

-- Andresa


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: multiple Recipients in a notification

Posted by simon litwan <si...@wyona.com>.
> Michael Wechner wrote:
> > simon litwan wrote:
> > 
> >> hi all
> >> does somebody know how to separate several mailaddresses?
> > 
> > 
> > I would assume that email addresses need to be separated by a blank or
> > a carriage return, but maybe this was never tested properly and is buggy.
> 
> You could try to use newlines, IIRC that works.
> 
> I took a quick look at the code, it looks like the text area
> content is just trimmed and fed into the SMTP object. It
> ends up as the "to" variable in
> 
>              errlog = errlog + "RCPT TO:<" + to + ">\n";
> 
> (SMTP.java:111)
> 
> which means you would probably have to separate them with "> <":
> 
>    a@foo.com> <b...@foo.com> <c@foo.com
> 
> There's certainly room for documentation and improvement.

unfortunately it doesn't work either.
maybe it's just not possible yet.
should i open a bug for this issue?

simon


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: multiple Recipients in a notification

Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:
> simon litwan wrote:
> 
>> hi all
>> does somebody know how to separate several mailaddresses?
> 
> 
> I would assume that email addresses need to be separated by a blank or
> a carriage return, but maybe this was never tested properly and is buggy.

You could try to use newlines, IIRC that works.

I took a quick look at the code, it looks like the text area
content is just trimmed and fed into the SMTP object. It
ends up as the "to" variable in

             errlog = errlog + "RCPT TO:<" + to + ">\n";

(SMTP.java:111)

which means you would probably have to separate them with "> <":

   a@foo.com> <b...@foo.com> <c@foo.com

There's certainly room for documentation and improvement.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: multiple Recipients in a notification

Posted by Michael Wechner <mi...@wyona.com>.
simon litwan wrote:

>hi all
>does somebody know how to separate several mailaddresses? 
>

I would assume that email addresses need to be separated by a blank or
a carriage return, but maybe this was never tested properly and is buggy.


Michi



-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: multiple Recipients in a notification

Posted by simon litwan <si...@wyona.com>.
> At the University of Zurich installation, we use the comma to separate 
> the mailadresses and it works perfectly.
> 
> Aloha
> 
> Roger
> 
> Am 15.04.2005 um 12:21 schrieb simon litwan:
> 
> > hi all
> > does somebody know how to separate several mailaddresses? i tried to
> > separate them with spaces or semicolons. but it just works with one
> > address.
> >
> > cheers
> > simon
> >
yeah it works just perfect.
thanks roger


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: multiple Recipients in a notification

Posted by Roger Stupf <ro...@unicom.unizh.ch>.
Hi Simon

At the University of Zurich installation, we use the comma to separate 
the mailadresses and it works perfectly.

Aloha

Roger

Am 15.04.2005 um 12:21 schrieb simon litwan:

> hi all
> does somebody know how to separate several mailaddresses? i tried to
> separate them with spaces or semicolons. but it just works with one
> address.
>
> cheers
> simon
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org