deltachat

Module mimeparser

source
Expand description

ยงMIME message parsing module.

Structsยง

  • DeliveryReport ๐Ÿ”’
    Delivery Status Notification (RFC 3464, RFC 6533)
  • MimeMessage ๐Ÿ”’
    A parsed MIME message.
  • Parsed MIME part.
  • Report ๐Ÿ”’
    Message Disposition Notification (RFC 8098)

Enumsยง

Constantsยง

Functionsยง

  • Extracts all addresses from the header named header.
  • Tries to get attachment filename.
  • get_from ๐Ÿ”’
    Returned addresses are normalized and lowercased.
  • get_list_post ๐Ÿ”’
    Returned addresses are normalized and lowercased.
  • get_mime_type ๐Ÿ”’
    Returns the mimetype and viewtype for a parsed mail.
  • get_recipients ๐Ÿ”’
    Returned addresses are normalized and lowercased.
  • handle_mdn ๐Ÿ”’
  • handle_ndn ๐Ÿ”’
    Marks a message as failed after an ndn (non-delivery-notification) arrived. Where appropriate, also adds an info message telling the user which of the recipients of a group message failed.
  • is_known ๐Ÿ”’
    Returns true if the header overwrites outer header when it comes from protected headers.
  • parse_message_id ๐Ÿ”’
  • parse_message_ids ๐Ÿ”’
  • Parses Autocrypt-Gossip headers from the email and applies them to peerstates. Params: from: The address which sent the message currently being parsed