2) <mailet match="All" class="ClamAVScan" onMailetException="ignore" />
I'm curious about onMailetException thing here. it isn't described within
james 2.2 guide. does it have any effect on james 2.2 ?
It tells the processor that if it catches an exception during processing at
that point to ignore it, rather than send the message to the error
processor.
so, to clarify things out:
for instance, I have the following in config.xml:
<mailet match="xxx" class="yyy" onMailetException="ignore" yo="123">
<nn>12</nn>
</mailet>
so...
does mailet or processor care of "onMailetException" ? if processor,
so it is general thing and should have been documented, I haven't found
anything in my documentation for James 2.2.
does mailet have yo="123" passed to it ? or it is totally to processor ?
"<nn>12</nn>" is passed to mailet and processor knows nothing is it
correct or not. right ?
3) I tried to pass really weird parameters to mailets, like yo="123", but
mailets say nothing about it. I found this really bad. Because I want
mailet to complain when I mis-type something. I don't want them to
silently ignore mis-typed parameters. How can it be achived ?
Write code. Mailets check for the parameters they know, and don't care
I meant attributes.
about others, which is often a good thing, since not all parameters may be
intended for the mailet. Some could be meta-information for the container.
This is consistent with other container managed components, such as Servlets
and Portlets.
How those is connected to Servlets and Portlets ? Can You give some
examples ? we are writing portal, so our developers write code in Java,
that's why I chose James for smtp/pop3 server. But since there'll be other
things in Java, I'd like to know how mailets can interoperate with
Servlets and Portlets.
--- Noel
---------------------------------------------------------------------
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]