用这个查看。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
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
好象是有.addHead("ac...(这里记不清楚了,你看用OUTLOOK里有的一个英文单词)",5);5表示优先及最高,我只能给你一个提示了,具体可查文档