Return-Path: Delivered-To: apmail-james-server-user-archive@www.apache.org Received: (qmail 63803 invoked from network); 16 Mar 2010 20:19:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Mar 2010 20:19:23 -0000 Received: (qmail 7230 invoked by uid 500); 16 Mar 2010 20:19:22 -0000 Delivered-To: apmail-james-server-user-archive@james.apache.org Received: (qmail 7120 invoked by uid 500); 16 Mar 2010 20:19:22 -0000 Mailing-List: contact server-user-help@james.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "James Users List" Reply-To: "James Users List" Delivered-To: mailing list server-user@james.apache.org Received: (qmail 7112 invoked by uid 99); 16 Mar 2010 20:19:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Mar 2010 20:19:22 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of norman.maurer@googlemail.com designates 74.125.82.49 as permitted sender) Received: from [74.125.82.49] (HELO mail-ww0-f49.google.com) (74.125.82.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Mar 2010 20:19:16 +0000 Received: by wwb17 with SMTP id 17so234242wwb.22 for ; Tue, 16 Mar 2010 13:18:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=XNLCpAPw5x5TEPHgYZrZBDwwj65OaFxLNKU7vIAmozk=; b=Pf5UPuKNjEvWR5xtmoMl9qsm6+0zwa06L3x3jvcCIm+kvEXKQGCo09rTaokv+pLPwm LJ6Xe2UyHGUmCdJ6A7xg8GQ3+cpBwrve0cqMPf+qvdDk+DcCCV/IOJIYxOhLW1RJQlzY cjceBHondZuLDKYmhymc8lFYzYEaLPljUfXKQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=WHq5bTIyKb+b+liT3o63DGikDZeXu/pMLsTN7QWvOTdNUFIw0tT2cJ8pAUauQeDU2X Egyt9weFmPuScvjMAbA1vsayPOv3hWxkiC8JavXrMxCER44XZiHbvJN/8PGQ6xpKUYes u4+9ITXBNXGkz7x5+FRfUHGFLHuUVy9wrfXVg= MIME-Version: 1.0 Sender: norman.maurer@googlemail.com Received: by 10.216.61.15 with SMTP id v15mr27545wec.451.1268770735390; Tue, 16 Mar 2010 13:18:55 -0700 (PDT) In-Reply-To: <4B9FE397.6030006@lanl.gov> References: <2513ddd4c7835252263b273e1bf29692@4sengines.eu> <75bda7a01003151022p3186a02cg7b17369418daeff6@mail.gmail.com> <4B9FE397.6030006@lanl.gov> Date: Tue, 16 Mar 2010 21:18:55 +0100 X-Google-Sender-Auth: a87236454965a300 Message-ID: <75bda7a01003161318t1c3f2926odd37f2c6ecad2c51@mail.gmail.com> Subject: Re: Test a mailet development From: Norman Maurer To: James Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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 : > 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/o= rg/apache/james/transport/mailets/ >> >> Bye, >> Norman >> >> 2010/3/15 Florent Andr=E9 : >> >>> 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 no= w >>> 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 sen= d >>> 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: server-user-unsubscribe@james.apache.org >>> For additional commands, e-mail: server-user-help@james.apache.org >>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org >> For additional commands, e-mail: server-user-help@james.apache.org >> >> > > > -- > 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: server-user-unsubscribe@james.apache.org For additional commands, e-mail: server-user-help@james.apache.org