markmclaren / java-gmail-imap

Automatically exported from code.google.com/p/java-gmail-imap
0 stars 0 forks source link

com.google.code.javax.mail.internet.MimeMessage.getContent() returns javax.mail.internet.MimeMultipart #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. getContent Returns javax.mail.internet.MimeMultipart instead of 
com.google.code.javax.mail.internet.MimeMultipart

IMAPMessage(MimeMessage).getDataHandler() line: 1388    
IMAPMessage.getDataHandler() line: 681  
IMAPMessage(MimeMessage).getContent() line: 1419    

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

It appears that getDataHander() is returning:
javax.activation.DataHandler

and MimeMessage has this import:

import javax.activation.*;

I'm happy if this is the expected behavior, just have to adapt code accordingly.

Original issue reported on code.google.com by greenk...@gmail.com on 30 Sep 2011 at 11:15

GoogleCodeExporter commented 9 years ago
Thanks for reporting this.  I have updated the source code, would you be able 
to test the changes?  Many Thanks, Mark

Original comment by mark.mcl...@gmail.com on 7 Oct 2011 at 10:52

GoogleCodeExporter commented 9 years ago

Original comment by mark.mcl...@gmail.com on 7 Oct 2011 at 10:53