Hi Thilina.

As I said The use of SUN Javamail 1.4 in AXIS2 replacing geronimo-spec-javamail solves my problem.

So Before I submit a JIRA, could you tell me if geronimo-spec-javamail was supposed to do the same for now,
or if it is still active developpement ?

Let me explain myself :

When I Used geronimo-spec as javamail API on my AXIS server, it appears to me text/plain was directed to String,
and all others contents mapped to "ByteArrayInputStream".

This stream however, was never implicitly decoded by this javamail implementation if Base64 or quoted printable in the source for instance.

I Had another problems with this geronimo-spec javamail API, wich makes me submit another JIRA :

http://issues.apache.org/jira/browse/GERONIMO-2041


MimeUtility class was not fully implemented.
We told me there that geronimo-spec-javamail-SNAPSHOT.jar was a complete implementation. However this jar does not contain nor mailcap neither content handler classes... and MimeUtility does not work yet ( I will comment the JIRA again soon )

All That makes me thinks that should be a "future implemented issue" rather than a bug ?

I prefer to be clear in my mind before to submit a JIRA. I dont want to bother you for bugs wich are not bugs... :p


Thilina Gunarathne a écrit :
Hi Laurent,
Can you please log a JIRA at gerenimo as Dr.Sanjiva suggested.... Give us the JIRA number too, so that we too can track it...

Always Welcome :)
~Thilina
On 5/31/06, *Laurent CELLA* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi Thilina.

    I was reluctant at the beginning to use SUN javamail API cause there
    were already geronimo-spec-javamail given with AXIS 2 libs and the
    sun
    mailcap seemed to me "a bit too complex" compared to geronimo mailcap.
    But I downloaded and installed java mail 1.4, and modified a bit
    my code
    to fit the new content handlers and the result is :

    It  implicitly decodes Base64 and quoted printable stream ( the
    contentHandler I retrieve at server side becomes an
    InputFilterStream in
    those 2 cases ) in Attachments ( the stream i Retrieve is decoded )

    So the replacing you suggested to me solves most of my problems :)
    Thanks !

    Thilina Gunarathne a écrit :
    > Hi Luarent,
    > Can you try it again by replacing the geronimo-spec-javamail-XXX.jar
    > with sun's mail jar[1].
    > Please log a JIRA if the things are not working well even after
    > replacing them.
    >
    > Thanks,
    > ~Thilina
    >
    > [1] http://java.sun.com/products/javamail/downloads/index.html
    >
    >
    > On 5/30/06, *Sanjiva Weerawarana* <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>>
    wrote:
    >
    >     On Tue, 2006-05-30 at 10:38 +0600, Thilina Gunarathne wrote:
    >     > Adding [Axis2]prefix..
    >     > Moving the conversation over to Axis2-dev list...Please
    post your
    >     > replies to dev list..
    >     >
    >     > Hi Laurent and devs,
    >     > Currently [1],[2] are the intended behavior. Do you have a
    use case
    >     > which makes it mandatory to send the base64 as an attachment,
    >     without
    >     > embedding in the SOAP message...
    >     >
    >     > I'm not sure whether we need to support the [3].
    >
    >     Ignoring Content-Transfer-Encoding is a bug .. we can refuse to
    >     process
    >     certain CTEs, but we cannot ignore it. Is this a JavaMail
    bug or a
    >     problem in our code?? (I agree JavaMail should be doing the
    work!)
    >
    >     Sanjiva.
    >     >
    >
    >
> ---------------------------------------------------------------------
    >     To unsubscribe, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >     <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>
    >     For additional commands, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >     <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>
    >
    >
    >
    >
    > --
    > "May the SourcE be with u"
    > http://webservices.apache.org/~thilina/
    <http://webservices.apache.org/%7Ethilina/>
    > <http://webservices.apache.org/%7Ethilina/>
    > http://thilinag.blogspot.com/ <http://thilinag.blogspot.com/>
    > http://www.bloglines.com/blog/Thilina



    ---------------------------------------------------------------------
    To unsubscribe, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    For additional commands, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>




--
"May the SourcE be with u" http://webservices.apache.org/~thilina/ <http://webservices.apache.org/%7Ethilina/> http://thilinag.blogspot.com/ http://www.bloglines.com/blog/Thilina


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to