The All Matcher should be perfect.. bye
Ahsan schrieb: > well, let me help a little bit > > normally, if u mail to some UNAVAILABLE host ID. e.g. > [EMAIL PROTECTED] ; then fiorst the mail will be sent, then > when the mail is bounced back, the server will let the sender know. > > all i want to do is, to ping the server and see if the server is > available > or not. if unavailable, the error msg will be sent to the sender > immediately > > > heop this clears up a lot :) > > - > ahsan > > > On 10/31/06, Stefano Bagnara <[EMAIL PROTECTED]> wrote: >> >> Ahsan wrote: >> > 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 ?? >> >> We don't know what do you mean with "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." so we can't really help in this. >> >> Stefano >> >> > 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] >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]