render_mime_message_and_pre_message

Function render_mime_message_and_pre_message 

Source
async fn render_mime_message_and_pre_message(
    context: &Context,
    msg: &mut Message,
    mimefactory: MimeFactory,
) -> Result<(Option<RenderedEmail>, RenderedEmail)>
Expand description

Renders the Message or splits it into Pre- and Post-Message.

Pre-Message is a small message with metadata which announces a larger Post-Message. Post-Messages are not downloaded in the background.

If pre-message is not nessesary, this returns None as the 0th value.