geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cédric Champeau (JIRA) <>
Subject [jira] Commented: (GERONIMO-3852) Mail misses header (blank subject and sender label not defined)
Date Thu, 14 Feb 2008 18:05:09 GMT


Cédric Champeau commented on GERONIMO-3852:

Ok, I managed to reproduce the problem, and it's not exactly what I thought : I created a
simple project with the dependencies CXF has :


And it could not send any mail because it misses the SMTP transport. Then I looked at my original
project dependencies and found that javax.mail from Sun was a dependency of log4j. I added
the dependency to the simple test case, it downloaded the javax.mail and javax.activation
jars, and I ran the project once again :

In that case, it works perfectly... I tweaked down things a little, and found out that if
I switched the positions of Sun's mail jar and Geronimo's implementation. In this case, it
perfectly reproduces the problem. So this means that dependending on what implementation of
the mail API is loaded first, the transport layer produces a valid message or not, which to
me seems to mean that the geronimo mail API is not compatible with the SMTP transport implementation
from Sun.

Hope this helps.

> Mail misses header (blank subject and sender label not defined)
> ---------------------------------------------------------------
>                 Key: GERONIMO-3852
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: specs
>    Affects Versions: 1.x
>         Environment: Ubuntu 7.10
>            Reporter: Cédric Champeau
>            Assignee: Rick McGuire
> As described  here (,
e-mails produced using geronimo mail are not valid (subject is missing, sender not properly
set) due to the content of the DATA section. While Sun's implementation produces this :
> From: "I am the sender" 
> To: recipient-AT-somewhere-DOT-com
> Message-ID: <>
> Subject: an empty subjet for starting
> the content of my mail
> Geronimo only sends this to the SMTP server :
> the content of my mail
> Looks like the mail misses the header.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message