`
nything
  • 浏览: 141623 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

JavaMail如何处理SMTP的Reply code?

阅读更多

com.sun.mail.smtp包中SMTPSendFailedException类有一个方法getReturnCode ()

 

 

getReturnCode

public int getReturnCode()

    Return the return code from the SMTP server that indicates the reason for the failure. See RFC 821 for interpretation of the return code. 

 

 

另参阅:

http://forums.sun.com/thread.jspa?threadID=5361282

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics