diff options
author | Philipp Korber <p.korber@1aim.com> | 2018-11-16 19:46:00 +0100 |
---|---|---|
committer | Philipp Korber <p.korber@1aim.com> | 2018-11-16 19:46:00 +0100 |
commit | 010e12bc6d5b8baef57fef870263be8fcb6d8a42 (patch) | |
tree | be638b3a31841c7f4be5c0bf4957569cfc3b8dd0 /smtp | |
parent | 1f75ff41886350cd153fe1a675f6420befdda2fd (diff) |
chore(MailParts) made it simpler/more understandable by removing `Embedded` type
- Now `MailParts` and `BodyParts` have two arrays each one for `inline_embeddings`
and one for `attachments` instead of mixing them togetther.
- Now requires `Resource` instances instead of `Embedded` instances which wrap
resource and add wether it's inline or attachment.
Diffstat (limited to 'smtp')
-rw-r--r-- | smtp/src/request.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/smtp/src/request.rs b/smtp/src/request.rs index 6a17aac..2737836 100644 --- a/smtp/src/request.rs +++ b/smtp/src/request.rs @@ -176,7 +176,6 @@ mod test { }; use headers::{ headers::{_From, _To, Sender}, - header_components::{MediaType }, }; |