We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92fc9ea commit 382fc75Copy full SHA for 382fc75
src/smtp.rs
@@ -618,7 +618,7 @@ async fn send_mdns(context: &Context, connection: &mut Smtp) -> Result<()> {
618
619
let more_mdns = send_mdn(context, connection).await?;
620
if !more_mdns {
621
- // No more MDNs to send.
+ // No more MDNs to send or one of them failed.
622
return Ok(());
623
}
624
@@ -752,7 +752,7 @@ async fn send_mdn_msg_id(
752
753
754
755
-/// Tries to send a single MDN. Returns false if there are no MDNs to send.
+/// Tries to send a single MDN. Returns true if more MDNs should be sent.
756
async fn send_mdn(context: &Context, smtp: &mut Smtp) -> Result<bool> {
757
let mdns_enabled = context.get_config_bool(Config::MdnsEnabled).await?;
758
if !mdns_enabled {
0 commit comments