pop3mail v1.3.1 Pop3mail.Body View Source

Decode and store mail body

Link to this section Summary

Functions

Decode multipart content, base64, quoted-printables

Store all found body parts on filesystem

Store one part on filesystem

Link to this section Functions

Link to this function decode_body(body_text, content_type, encoding, disposition) View Source
decode_body(String.t(), String.t(), String.t(), String.t()) :: [
  Pop3mail.Part.t()
]

Decode multipart content, base64, quoted-printables

Link to this function store_multiparts(multipart_part_list, dirname) View Source
store_multiparts([Pop3mail.Part.t()], String.t()) :: [
  {:ok, String.t()} | {:error, String.t(), String.t()}
]

Store all found body parts on filesystem

Link to this function store_part(multipart_part, base_dir) View Source
store_part(Pop3mail.Part.t(), String.t()) ::
  {:ok, String.t()} | {:error, String.t(), String.t()}

Store one part on filesystem