Hi Norman, How can I determine if my home-grown mailet is being used by James-Server?
Robert > Hi Robert it depends .. > > if you use james 2.3.x copy the jar to: > > /path/to/james/apps/james/SAR-INF/lib/ > > You need to create the lib folder by your own.. > > > If you use james trunk: > > adjust the /path/to/james/bin/setenv.sh (unix) or > /path/to/james/bin/setenv.bat (windows) to include your jar in the > classpath. > > > For both you will need to add the package name of your mailet to > mailetpackages configuration. > > Hope it helps, > Norman > > > 2010/3/17 Robert Gurule <[email protected]>: >> Hi Norman, >> If I write a mailet and create a jar file for the mailet where in the >> James/Server/Trunk would I place the jar file.... >> >> Thanks, >> >> Robert >> >> >> Norman Maurer wrote: >>> >>> Yeah when you want to write a mailet then it fit for you too... >>> >>> Btw Im not 100% sure what you want todo with the mailet, so maybe you >>> can give me some more details? >>> >>> Bye >>> Norman >>> >>> 2010/3/16, Robert Gurule <[email protected]>: >>> >>>> >>>> Hi Norman, >>>> I too am working on creating a mailet using IMAP on the >>>> http://svn.apache.org/repos/asf/james/server/trunk/ branch.... >>>> >>>> do you recomment the below suggestion for me as well. >>>> >>>> Thanks, >>>> >>>> Robert >>>> >>>> >>>> Norman Maurer wrote: >>>> >>>>> >>>>> Hi Andre, >>>>> >>>>> I think a good start would be to look at the source code of our unit >>>>> tests for mailets: >>>>> >>>>> >>>>> http://svn.apache.org/viewvc/james/mailet/standard/trunk/src/test/java/org/apache/james/transport/mailets/ >>>>> >>>>> Bye, >>>>> Norman >>>>> >>>>> 2010/3/15 Florent André <[email protected]>: >>>>> >>>>> >>>>>> >>>>>> Hi James addicts :) , >>>>>> >>>>>> I would like to begin to code my first mailet, and I ask myself a >>>>>> question >>>>>> : How I can test if my mailet react (output) what I want when a mail >>>>>> is >>>>>> treated ? >>>>>> >>>>>> I imagine different solutions : >>>>>> 1) send a mail via telnet : not very easy and rapid >>>>>> 2) send a mail via my day to day webmail : I'm not totally crazy for >>>>>> now >>>>>> and I don't want to expose my "no-configuration" to all web. So I >>>>>> just >>>>>> have >>>>>> a local access to james >>>>>> 3) Use a local, predictable, reusable and configurable java jar for >>>>>> send >>>>>> mail to James. >>>>>> >>>>>> The 3) seem to me the more "clean" and usable. >>>>>> >>>>>> In order to create this test lib, I found some examples code on this >>>>>> : >>>>>> http://www.ibm.com/developerworks/java/library/j-james1.html >>>>>> >>>>>> What do you think about this way of doing ? There is a better >>>>>> practice >>>>>> in >>>>>> James or a very useful code in svn for this usecase ? >>>>>> >>>>>> Thanks, >>>>>> Have a gooooooood day >>>>>> ++ >>>>>> >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> 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] >>>>> >>>>> >>>>> >>>> >>>> -- >>>> Robert L. Gurule' >>>> High Performance Computing >>>> Scientific Software Engineering (HPC-1) >>>> Los Alamos National Laboratory, MS B295 >>>> Los Alamos, New Mexico 87545 >>>> 505-665-3538 (office) >>>> 505-690-1011 (cell) >>>> >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> >> -- >> Robert L. Gurule' >> High Performance Computing >> Scientific Software Engineering (HPC-1) >> Los Alamos National Laboratory, MS B295 >> Los Alamos, New Mexico 87545 >> 505-665-3538 (office) >> 505-690-1011 (cell) >> >> > > --------------------------------------------------------------------- > 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]
