[
https://issues.apache.org/jira/browse/GERONIMO-3852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14203892#comment-14203892
]
Hendrik Saly commented on GERONIMO-3852:
----------------------------------------
Mixing javamail oracle-ri spec and geronimo impl jar will not work.
For example: javax.mail.internet.MimeUtility in oracle javamail spec jar relies
on com.sun.mail.util.* package which is naturally not there if oracle javamail
impl jar is not included.
{code}
package javax.mail.internet;
import javax.mail.MessagingException;
import javax.activation.*;
import java.util.*;
import java.io.*;
import com.sun.mail.util.*;
public class MimeUtility {
{code}
The other way round (mixing javamail oracle-ri impl and geronimo spec jar might
work, but thats currently untested)
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)