Crate vsmtp_mail_parser

Expand description

vSMTP mail parser

Structs§

BasicParser
Mail
Message body representation
MailHeaders
we use Vec instead of a HashMap because header ordering is important.
MailMimeParser
Instance parsing a message body
MessageBody
Message body issued by a SMTP transaction
Mime
MimeHeader
header of a mime section
MimeMultipart
RawBody
Representation of a mail

Enums§

BodyType
see rfc5322 (section 2.1 and 2.3)
MimeBodyType
ParserError

Constants§

MAIL_CAPACITY
average size of a mail

Traits§

MailParser
An abstract mail parser

Functions§

get_mime_header
take the name and value of a header and parses those to create a MimeHeader struct.

Type Aliases§

ParserResult