用这个查看。getAllHeaders
public java.util.Enumeration getAllHeaders()
                                    throws MessagingException
Return all the headers from this Message as an enumeration of Header objects. 
Note that certain headers may be encoded as per RFC 2047 if they contain non US-ASCII characters and these should be decoded. This implementation obtains the headers from the headers InternetHeaders object.Specified by: 
getAllHeaders in interface Part
Returns:
array of header objects
Throws:
MessagingException -  
See Also: 
MimeUtility