View Source Pop3mail.Body (pop3mail v1.5.0)
Decode and store mail body
Summary
Functions
Decode multipart content, base64, quoted-printables
Store all found body parts on filesystem
Store one part on filesystem
Functions
@spec decode_body(String.t(), String.t(), String.t(), String.t()) :: [ Pop3mail.Part.t() ]
Decode multipart content, base64, quoted-printables
@spec store_multiparts([Pop3mail.Part.t()], String.t()) :: [ {:ok, String.t()} | {:error, atom(), String.t()} ]
Store all found body parts on filesystem
@spec store_part(Pop3mail.Part.t(), String.t()) :: {:ok, String.t()} | {:error, atom(), String.t()}
Store one part on filesystem