----- Original Message -----
From: "Rafizan Baharum" <[EMAIL PROTECTED]>
>
> hi
>
> i have this configuration...
>
> <mailet match="[EMAIL PROTECTED]"
> class="AvalonListserv">
> ....... (some parameters)
> .......
> </mailet>
>
> my question is, how do i get the value of parameter RecipientIs in
> AvalonListserv class?
> is it thru MailetConfig or MailetContext? or just simple the inherited
> GenericMailet.getInitParameter(String name) method ?
There is no way to get matcher parameters from a mailet (at least currently
designed). However, because you know this mailet will only get one
recipient, it can check the recipients Collection and get it there. In
fact, this is how AvalonListserv determines the e-mail address for the
listserv (and you shouldn't have to separately pass it).
Serge Knystautas
Loki Technologies
http://www.lokitech.com/
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives: <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]