阅读:10420回复:3
jmail发送邮件失败,求解决方法
jmail发送邮件时抛出异常javax.mail.NoSuchProviderException,网上说是jar包的问题,请问这个该怎么解决?
|
|
沙发#
发布于:2015-11-09 14:59
完整的是这样的
javax.mail.NoSuchProviderException: Provider class does not have a constructor(Session, URLName): protocol=smtp; type=javax.mail.Provider$Type@86d762; class=com.sun.mail.smtp.SMTPTransport; vendor=Sun Microsystems, Inc |
|
板凳#
发布于:2015-11-09 18:33
|
|
|
地板#
发布于:2015-11-10 11:22
|
|