类 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.smtp 中 SendFailedException 的使用
 

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

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



Copyright © 2013. All Rights Reserved.