Add Content-ID header for attachments

This commit is contained in:
Julien Blatecky
2020-09-13 11:03:51 +02:00
committed by Paolo Barbolini
parent bf32554e51
commit c5fef28ac9
2 changed files with 5 additions and 0 deletions

View File

@@ -42,6 +42,9 @@ pub mod error;
pub mod message;
pub mod transport;
#[macro_use]
extern crate hyperx;
use crate::error::Error;
#[cfg(feature = "builder")]
pub use crate::message::{

View File

@@ -7,6 +7,8 @@ use std::{
str::{from_utf8, FromStr},
};
header! { (ContentId, "Content-ID") => [String] }
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum ContentTransferEncoding {
SevenBit,