Stefano Bagnara wrote:
Rick McGuire ha scritto:
Stefano Bagnara wrote:
IIRC few months ago: the issue was with the smtpclient (to deliver mail) and the "hidden" features (e.g: 8BITMIME) and specific exceptions (on delivery failure for partial deliveries). We make use of many internal things and we check for sun specific exceptions because the specification itself is thought with MUA (mail clients) in mind and not MDA (servers).
I believe I finally got the 8BIT MIME support figured out and implemented. The Geronimo SMTPTransport implementation should implement most, if not all, of Sun extension properties. I'm certainly willing to consider adding any that you find missing.

Hi Rick,

you are *fast* :-)
It wasn't that big of a change, once I finally figured out what I was supposed to implement. The spec source is here:


can you make a build of the latest geronimo javamail implementation (and tell me where I can see the sources, too)? If so I can try to at least run our unit tests with geronimo javamail instead of sun javamail. We don't have many tests, but at least 8bitmite have few tests because until 1.4.1 the sun implementation was very buggy and we never enabled 8bitmime support because of failing tests.
The binary can be found here:

http://people.apache.org/~rickmcguire/javamail/

The source is split into two pieces, a spec component (essentially the javax.mail.* classes) and the providers. Part of the providers build creates a merged jar file containing both the spec and the providers. The specs can be found here:

https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-javamail_1.4_spec

The providers code is in this subproject:

https://svn.apache.org/repos/asf/geronimo/javamail/trunk/geronimo-javamail_1.4

You'll need to build specs first, then run an mvn build from the root of the second tree, which will build both the providers and the uber jar.

One thing I've been very frustrated with in the javamail client code has been the difficulty in setting up automated unit tests because of the dependency on another target server. It would be really great if we could get the James test suite running with the Geronimo API and give it a real shakeout. One of the problems I had run into with developing the different providers originally was James didn't support all of the authentication mechanisms I needed to test out for all of the server types. It's been a while since I looked....has additional support been added?

Rick


Stefano


---------------------------------------------------------------------
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