th configuration is
<mailet match="#MatcherName#=#MatcherCondition#" class="#MailetName#">
#MailetConfiguration#
</mailet>
The Matcher cannot access the mailetConfiguration, but only its own
condition. The condition has to be specified in the match attribute,
after an "=".
Stefano
Miroslav Nachev wrote:
Hi,
I try with getCondition(), but the return value is NULL. In the same XML
Mailet, the result from GenericMailet is correct.
Do you have another ideas?
Regards,
Miro.
Norman Maurer wrote:
You should check the javadocs:
http://james.apache.org/server/2.3.0/apidocs/org/apache/mailet/GenericMatcher.html#getCondition()
bye
Norman
Miroslav Nachev schrieb:
Hi,
When my code is in GenericMailet then I get the parameters using
getInitParameter(), like that:
repositoryPath = getInitParameter("repositoryPath");
How can I do the same when I am in GenericMatcher?
Regards,
Miro.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]