samotop-core 0.13.1+smtp

The domain model of Samotop and core functionality - SMTP server and library built on async-std. A base crate for samotop extensions.
Documentation
1
2
3
4
5
6
7
8
/// Represents parsed mail body parts
#[derive(Eq, PartialEq, Debug, Clone)]
pub enum MailBody<B> {
    /// A chunk of the mail body without a trailing CRLF
    Chunk { data: B, ends_with_new_line: bool },
    /// The mail body is finished. Mail should be queued.
    End,
}