好的,Java中还有其他用于发送电子邮件的库吗?
我尝试使用javax.mail
并且commons-email
我不断收到此错误:
Exception in thread "Thread-645" java.lang.UnsupportedOperationException: Method not yet implemented
at javax.mail.internet.MimeMessage.<init>(MimeMessage.java:89)
at org.apache.commons.mail.Email.buildMimeMessage(Email.java:1011)
at org.apache.commons.mail.Email.send(Email.java:1162)
at com.liveratesfeeds.tss.email.SendEmail.sendWarningEmail(SendEmail.java:62)