Add Content-ID header for attachments
This commit is contained in:
committed by
Paolo Barbolini
parent
bf32554e51
commit
c5fef28ac9
@@ -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::{
|
||||
|
||||
@@ -7,6 +7,8 @@ use std::{
|
||||
str::{from_utf8, FromStr},
|
||||
};
|
||||
|
||||
header! { (ContentId, "Content-ID") => [String] }
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq)]
|
||||
pub enum ContentTransferEncoding {
|
||||
SevenBit,
|
||||
|
||||
Reference in New Issue
Block a user