mirror of
https://github.com/soywod/himalaya.git
synced 2024-07-08 18:45:13 +00:00
add answered flag when replying to a message
This commit is contained in:
parent
ac6931624b
commit
1d92b5bc00
|
@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
- IDLE support [#29]
|
- IDLE support [#29]
|
||||||
- Improve choice after editing msg [#30]
|
- Improve choice after editing msg [#30]
|
||||||
|
- Flags management [#41]
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
@ -86,3 +87,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
[#38]: https://github.com/soywod/himalaya/issues/38
|
[#38]: https://github.com/soywod/himalaya/issues/38
|
||||||
[#39]: https://github.com/soywod/himalaya/issues/39
|
[#39]: https://github.com/soywod/himalaya/issues/39
|
||||||
[#40]: https://github.com/soywod/himalaya/issues/40
|
[#40]: https://github.com/soywod/himalaya/issues/40
|
||||||
|
[#41]: https://github.com/soywod/himalaya/issues/41
|
||||||
|
|
|
@ -489,6 +489,7 @@ impl<'a> App<'a> {
|
||||||
println!("Sending…");
|
println!("Sending…");
|
||||||
smtp::send(&account, &msg.to_sendable_msg()?)?;
|
smtp::send(&account, &msg.to_sendable_msg()?)?;
|
||||||
imap_conn.append_msg("Sent", &msg.to_vec()?)?;
|
imap_conn.append_msg("Sent", &msg.to_vec()?)?;
|
||||||
|
imap_conn.add_flags(mbox, uid, "\\Answered")?;
|
||||||
println!("Done!");
|
println!("Done!");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue