create_header

Function create_header 

Source
pub fn create_header(key: &str, value: &str) -> EmailHeader
Expand description

Returns one of the EmailHeader based on the “key” type. The header’s value might be further parsed depending on the type of the header.