add answered flag when replying to a message

This commit is contained in:
Clément DOUIN
2021-03-19 22:05:01 +01:00
parent ac6931624b
commit 1d92b5bc00
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -489,6 +489,7 @@ impl<'a> App<'a> {
println!("Sending…");
smtp::send(&account, &msg.to_sendable_msg()?)?;
imap_conn.append_msg("Sent", &msg.to_vec()?)?;
imap_conn.add_flags(mbox, uid, "\\Answered")?;
println!("Done!");
break;
}