Return-Path: Delivered-To: apmail-james-mime4j-dev-archive@minotaur.apache.org Received: (qmail 74955 invoked from network); 11 Jun 2009 21:08:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Jun 2009 21:08:26 -0000 Received: (qmail 97654 invoked by uid 500); 11 Jun 2009 21:08:37 -0000 Delivered-To: apmail-james-mime4j-dev-archive@james.apache.org Received: (qmail 97612 invoked by uid 500); 11 Jun 2009 21:08:37 -0000 Mailing-List: contact mime4j-dev-help@james.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mime4j-dev@james.apache.org Delivered-To: mailing list mime4j-dev@james.apache.org Received: (qmail 97463 invoked by uid 99); 11 Jun 2009 21:08:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2009 21:08:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of markus.wiederkehr@gmail.com designates 209.85.218.219 as permitted sender) Received: from [209.85.218.219] (HELO mail-bw0-f219.google.com) (209.85.218.219) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2009 21:08:29 +0000 Received: by bwz19 with SMTP id 19so2203368bwz.4 for ; Thu, 11 Jun 2009 14:08:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=5jW2NCsyJCM07G33Jm3FmUe9l/sUEPq2S0oZBe8AGbc=; b=lTFy8y9DpDPcAtkxzDaqcIPgcAgXmV+X+DUpheGXUCh/HYEiIoL5PbvGx3lwfgnuHu e/UixMTRQj1XhmcNYlBXeCJ+gbnXPs3HChxqfeXXRihxeMm0s/QGs2vMbL6MMlDe2VD5 wEceUHkmw47s80MuxAiJCruFxZHXw21sF6XEE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=cacpgwLhjY1zLQsvasaM6ryXKJ/MgWevna6JCowsnIMxHe3AV8l2mpAQuVdQRhRVfy 9L4YtOgFWF9A0lNdtnLg1foUQ8wvOO8ZdFFlJFJIi/gZ1eFujgqBE0rG40kruP1rNJtZ iESduwm18sivYKfvy85p/1ez3FqwUzG9aC63I= MIME-Version: 1.0 Received: by 10.223.114.68 with SMTP id d4mr2398190faq.86.1244754487711; Thu, 11 Jun 2009 14:08:07 -0700 (PDT) In-Reply-To: References: Date: Thu, 11 Jun 2009 23:08:07 +0200 Message-ID: Subject: Re: SMTP Transport? From: Markus Wiederkehr To: mime4j-dev@james.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Jun 11, 2009 at 5:15 PM, Robert Burrell Donkin wrote: > On Thu, Jun 11, 2009 at 3:30 PM, Markus > Wiederkehr wrote: >> I've written a class SmtpTransport that can be used to send a Mime4j >> message to an SMTP server. >> >> Currently it is very simple. Meaning it is not yet capable of >> authentication or TLS or other extensions. >> >> Would it be worth to include this code in Mime4j? > > so long as it's in a separate module, i'd say yes for now > > commons net (http://commons.apache.org/net/) already supports SMTP. > it's probably worthwhile having a bit of a think where the new mime4j > code would fit into the ecosystem... I ran svn2cl in NET's o.a.commons.net.smtp package and there was no real development in the last 6 years except for a fix for NET-178 (and I did not look farther back). There does not seem to be ESMTP support, not even for EHLO. SMTPClient.sendMessageData() returns a Writer instead of an OutputStream. Does not look very promising to me.. > > >> PS: Testing is a bit of a PITA with sockets and all.. Robert, could >> MPT help with that? I haven't looked into it yet.. > > yes but a little work would be required > > BTW the first MPT release needs one more vote if you have a few spare > cycles to review it What would you want me to do? Compile and review the source? Is there some kind of checklist I should follow? Markus