Function deltachat::receive_imf::receive_imf_from_inbox

source ·
pub(crate) async fn receive_imf_from_inbox(
    context: &Context,
    rfc724_mid: &str,
    imf_raw: &[u8],
    seen: bool,
    is_partial_download: Option<u32>,
    fetching_existing_messages: bool
) -> Result<Option<ReceivedMsg>>
Expand description

Emulates reception of a message from “INBOX”.

Only used for tests and REPL tool, not actual message reception pipeline.