类 javax.mail.SendFailedException
的使用

使用 SendFailedException 的软件包
com.sun.mail.smtp An SMTP protocol provider for the JavaMail API that provides access to an SMTP server. 
 

com.sun.mail.smtpSendFailedException 的使用
 

com.sun.mail.smtpSendFailedException 的子类
 class SMTPAddressFailedException
          This exception is thrown when the message cannot be sent.
 class SMTPSendFailedException
          This exception is thrown when the message cannot be sent.
 

抛出 SendFailedExceptioncom.sun.mail.smtp 中的方法
 void SMTPTransport.sendMessage(Message message, Address[] addresses)
          Send the Message to the specified list of addresses.
 



Copyright © 2013. All Rights Reserved.