Thanks. That's what I thought. I've been having trouble finding an example
piece of java for a mailet though. Can I just write something simple like
this.
package com.mypackage;
public class processEmail extends GenericMatcher
{
//java logic to call struts url
}
How does this <match="All" mailet="YourMailet"/> then know how to call that
java class? Would it be like this:
<match="All" mailet="FeedToStruts" class="com.mypackage.processEmail"/> and
is that the only mailet tag and config that needs to be done in james?
Thanks for your time.
Norman Maurer-3 wrote:
>
> Hi Jeff,
>
> you could write an Mailet which do the call and use a "All" matcher.
>
> Like:
>
> <match="All" mailet="YourMailet"/>
>
> bye
> Norman
>
> jefetech schrieb:
>> Everytime James receives and email, I want it to call a
>> http://localhost/processEmail.do script. How hard is that to setup? Can
>> it
>> be done with a simple mailet tag?
>>
>> Thank you,
>>
>> Jeff
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/calling-external-script-tf3989690.html#a11330309
Sent from the James - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]