Does anyone know how I can send rtf files as the body of email messages? I have the rtf stored in a string and I was trying
msg.setContent(str, "text/rtf") or msg.setContent(str, "text/richtext") but I get javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/rtf . I can attached the rtf files and send them that way but I really need to be able to send them in the body.