Skip to main content

finalize_with

Function finalize_with 

Source
pub fn finalize_with(
    draft: &str,
    from: &str,
    msg_id: &str,
    date: &str,
    user_agent: bool,
) -> Result<String>
Expand description

Like finalize, adding a User-Agent header when user_agent and the draft has none of its own.