Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人可以让我知道为什么我们会得到以下异常。
javax.mail.SendFailedException: No recipient addresses
可能是因为地址为空或为空吗?或者是其他东西?
根据此处找到的文档
无法发送消息时会抛出此异常。例外情况包括无法发送消息的地址以及发送消息的有效地址和未发送消息的有效地址