Function deltachat::message::get_mime_headers
source ยท pub async fn get_mime_headers(
context: &Context,
msg_id: MsgId,
) -> Result<Vec<u8>>
Expand description
Get the raw mime-headers of the given message.
Raw headers are saved for incoming messages
only if set_config(context, "save_mime_headers", "1")
was called before.
Returns an empty vector if there are no headers saved for the given message, e.g. because of save_mime_headers is not set or the message is not incoming.