Z
zob
Unregistered / Unconfirmed
GUEST, unregistred user!
我写的代码是
message.setSubject("Test from Javamail");
message.setText("HellofromJavaMail");
编译通过,但发送时提示说邮件消息体缺少DCH,我找了帮助没发现什么是DCH,所以问问大家
javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.MessagingException: IOException while sending message;
nested exception is:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME ty
pe text/plain;
charset=us-ascii
message.setSubject("Test from Javamail");
message.setText("HellofromJavaMail");
编译通过,但发送时提示说邮件消息体缺少DCH,我找了帮助没发现什么是DCH,所以问问大家
javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.MessagingException: IOException while sending message;
nested exception is:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME ty
pe text/plain;
charset=us-ascii