Macro mail_headers::headers
source · macro_rules! headers {
($($header:ty : $val:expr),*) => { ... };
}
Expand description
Create a header map from a list of header’s with ther fields
Example
let map = headers! {
_From: ["bobo@nana.test"],
Subject: "hy there"
}?;