You was the guys that wanted to write a mailet that ping some hosts
right ? So maybe the matcher "All" is allready what you need. You will
only need writting you own if no provided matcher fit your needs.

See :
http://james.apache.org/server/2.3.0/provided_matchers.html

bye
norman


Ahsan schrieb:
> thnx a lot, now i cna run the smaple codes
>
> however, i was wondering if only a mailet would be sufficient enough
> for my
> purpose ?? do i need a matcher as well ??
>
>
> On 10/31/06, Norman Maurer <[EMAIL PROTECTED]> wrote:
>>
>> You should extract the jar file out of the james.sar file and add it to
>> your classpath.
>>
>> bye
>> Norman
>>
>> Ahsan schrieb:
>> > thnx a lot, quite useful site, BUT BUT BUT because i am unable to
>> proceed
>> > with the import org.apache.mailet.*; command, i am unable to use the
>> > resource to the max. :(
>> >
>> > any help from anyone will be highly appreciated :)
>> >
>> > thanks
>> > -
>> > ahsan
>> >
>> >
>> > On 10/30/06, Norman Maurer <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Maybe this is usefull for you :
>> >>
>> >> http://java201.com/resources/browse/2006/james.html
>> >>
>> >> bye
>> >> Norman
>> >>
>> >> Ahsan schrieb:
>> >> > thnx
>> >> >
>> >> > but i was actaully looking for some sample code with accompanying
>> >> > xplanation
>> >> > as well,
>> >> > u see, i am a totally newbee ...... :-s
>> >> >
>> >> > -
>> >> > ahsan
>> >> >
>> >> >
>> >> > On 10/30/06, Norman Maurer <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >> Hi,
>> >> >>
>> >> >> you should read:
>> >> >> http://james.apache.org/server/2.3.0/custom_mailet.html
>> >> >>
>> >> >> And i whould use 2.3.0 version which will be aviable this week.
>> >> Anyhow
>> >> >> get sure you have the mailet-api-x.jar in yyour classpath.
>> >> >>
>> >> >> bye
>> >> >> Norman
>> >> >>
>> >> >> Ahsan schrieb:
>> >> >> > Dear friends,
>> >> >> >
>> >> >> > I have to write a simple mailet that will ping the servers of
>> the
>> >> >> > recipient
>> >> >> > and and let us know if the recipient is available or not. if
>> >> >> > unavailable, a
>> >> >> > message will be sent to the sender and the mail state set to
>> ghost.
>> >> >> > otherwise business as usual.
>> >> >> >
>> >> >> > My problem is,  I get error when trying to import
>> >> org.apache.mailet.*
>> >> ;
>> >> >> > (package does not exist)
>> >> >> > also, can everything be done in the mailet ??
>> >> >> > also, can anyone kindly explain the configuration files or
>> give me
>> >> >> some
>> >> >> > links??
>> >> >> >
>> >> >> > Btw, I am using james 2.2.0 with jaf 1.1 and javamail 1.4
>> >> >> >
>> >> >> > thanks  writing
>> >> >> > Ahsan
>> >> >> > !EXCUBATOR:1,454579aa53071123912413!
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> 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]
>> >>
>> >>
>> >
>> >
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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]

Reply via email to