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.
另参阅:
本文详细介绍了com.sun.mail.smtp包中的SMTPSendFailedException类及其getReturnCode()方法,该方法返回SMTP服务器提供的失败原因对应的返回码,并给出了RFC821标准中对于返回码的解释。
9471

被折叠的 条评论
为什么被折叠?



