View Source Pop3mail.Handler.Mail (pop3mail v1.5.0)

A struct that holds mail content.

It's fields are:

  • mail_content - string with the complete raw email content
  • mail_loop_counter - Current number of the email in the retrieval loop. In an POP3 connection each email is numbered, starting at 1.
  • header_list - list with tuples of {:header, header name, header value}.
  • body_content - email body.

Summary

Types

@type t() :: %Pop3mail.Handler.Mail{
  body_content: String.t(),
  header_list: [{:header, String.t(), String.t()}],
  mail_content: String.t(),
  mail_loop_counter: integer()
}