如何阅读“text/html”的电子邮件类型?
这就是我收到电子邮件的方式:
try {
store = emailSession.getStore(mailStoreType);
store.connect(host, username, password);
Message[] messages = getMessages(folder);
Message message = messages[emailIndex];
} catch (Exception e) {
e.printStackTrace();
}