geronimo-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/GERONIMO-3852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569028#action_12569028
] 

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 :

		<dependency>
			<groupId>org.apache.geronimo.specs</groupId>
			<artifactId>geronimo-javamail_1.4_spec</artifactId>
			<version>1.2</version>
		</dependency>
		<dependency>
			<groupId>org.apache.geronimo.specs</groupId>
			<artifactId>geronimo-activation_1.1_spec</artifactId>
			<version>1.0.2</version>
		</dependency>

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: https://issues.apache.org/jira/browse/GERONIMO-3852
>             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 (http://www.jroller.com/melix/entry/apache_cxf_maven_javamail_awful),
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 :
> DATA
> From: "I am the sender" 
> To: recipient-AT-somewhere-DOT-com
> Message-ID: <1484678.01202984955533.JavaMail.me-AT-server-DOT-com>
> Subject: an empty subjet for starting
> the content of my mail
> Geronimo only sends this to the SMTP server :
> DATA
> 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.


Mime
View raw message