DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30973>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30973

[email] [patch] HTML email with plain text alternative and attachments





------- Additional Comments From [EMAIL PROTECTED]  2004-10-24 22:07 -------
The patch was not completely applied, below is the missing part. I'm also unable
to get the test cases working, but after removing the four lines below, things
appear to work fine. Thanks.

Index: MultiPartEmail.java
===================================================================
RCS file:
/home/cvspublic/jakarta-commons-sandbox/email/src/java/org/apache/commons/mail/MultiPartEmail.java,v
retrieving revision 1.7
diff -u -r1.7 MultiPartEmail.java
--- MultiPartEmail.java 24 Oct 2004 17:27:21 -0000      1.7
+++ MultiPartEmail.java 24 Oct 2004 22:00:58 -0000
@@ -122,10 +122,6 @@
         container = new MimeMultipart();
         super.setContent(container);

-        // Add the first body part to the message.  The fist body part must be
-        primaryBodyPart = new MimeBodyPart();
-        container.addBodyPart(primaryBodyPart);
-
         initialized = true;
     }

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

Reply via email to