* don't save drafts immediately, and do the post-sending stuff not in hooks,

but rather by a special 'sent-' message handler
This commit is contained in:
djcb
2012-03-27 21:15:47 +03:00
parent 86a1424b17
commit c2e3eac1de
4 changed files with 92 additions and 71 deletions

View File

@ -189,6 +189,22 @@ Using the \fBadd\fR command, we can add a message to the database.
<- (:info add :path <path> :docid <docid>)
.fi
.TP
.B sent
With the \fBsent\fR command, we tell the backend that a message will be sent.
.nf
-> sent <path> <maildir>
<- (:sent :path <path> :docid <docid>)
.fi
In the frontend, this message can then be used to trigger moving the message
from the draft folder to the sent folder, setting the Replied/Passed flags on
the parent messages.
.TP
.B mkdir