Function deltachat::receive_imf::receive_imf
source · pub async fn receive_imf(
context: &Context,
imf_raw: &[u8],
seen: bool,
) -> Result<Option<ReceivedMsg>>
Expand description
Emulates reception of a message from the network.
This method returns errors on a failure to parse the mail or extract Message-ID. It’s only used for tests and REPL tool, not actual message reception pipeline.