简体   繁体   English

通过javamail smtp发送电子邮件会导致messagePartially完全成功发送

[英]Sending email, via javamail smtp, results in messagePartiallyDelivered on a completely successful send

Sending email, via javamail smtp, with 2 addresses listed in MIME headers but only 1 address used in send function seems to result in a messagePartiallyDelivered, regardless of the fact that the 'one' address provided to the send function successfully received the message. 通过javamail smtp发送电子邮件,在MIME标头中列出了2个地址,但在send函数中仅使用1个地址似乎会导致messagePartiallyDelivered,无论提供给send函数的“一个”地址是否成功接收到该消息。

Is this the expected behaviour ? 这是预期的行为吗?

The javadocs for javamail are not very well filled out, so it is hard to tell if this is the behaviour I can expect with any implementation of javamail (be it sun/oracle, or gnu). javamail的javadocs填写得不是很好,因此很难确定这是否是我对任何Javamail实现(无论是sun / oracle还是gnu)所期望的行为。

Do you have mail.smtp.reportsuccess set? 您是否设置了mail.smtp.reportsuccess? If so, that's the expected behavior. 如果是这样,这就是预期的行为。

Otherwise, it would be helpful to see the protocol trace and debugging out . 否则,查看协议跟踪和调试将很有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM