Skip to main content

send_draft

Function send_draft 

Source
pub fn send_draft(
    config_path: &Path,
    account: &Account,
    password: &str,
    draft: &Draft,
    tr: &Translator,
) -> Result<(), SyncError>
Expand description

Sends a draft from its account: the sending server is found first when the account has none, and kept in the configuration at config_path. A NotFiled error means it was sent all the same. A draft your security key signs is not sent from here: it is built at Send, in the writing window.