BodyDecode

emil.javamail.conv.BodyDecode
See theBodyDecode companion object
trait BodyDecode

Read a recursive multipart message into our simplified structure:

  • the first text, html or alternative part is defining MailBody
  • all other parts are flattened into a list of attachments

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait decode
trait codec
object codec.type
object decode.type

Members list

Implicits

Implicits

implicit def attachmentDecode[F[_] : Sync]: Conv[Part, Attachments[F]]
implicit def mailBodyDecode[F[_] : Sync](implicit evidence$2: Sync[F], ca: Conv[Part, Attachments[F]]): Conv[MimeMessage, BodyAttach[F]]
implicit def mailDecode[F[_] : Sync](implicit evidence$4: Sync[F], cb: Conv[MimeMessage, BodyAttach[F]], ch: Conv[MimeMessage, MailHeader]): Conv[MimeMessage, Mail[F]]
implicit lazy val mailDecodeRaw: Conv[MimeMessage, ByteVector]