On this page
  1. imaplib.IMAP4_stream
  2. Import
  3. Signature & Overview
  4. Methods & Attributes
  5. Usage
  6. Gotchas
  7. REPL Inspect

imaplib.IMAP4_stream

Prev: imaplib.IMAP4_SSL | Up: imaplib | Next: imaplib.Int2AP
Rel: imaplib.IMAP4, imaplib.IMAP4_SSL, imaplib.Int2AP, imaplib.Internaldate2tuple
Ref: docs.python.org — imaplib.IMAP4_stream
Tags: #public #python3 #stdlib #imaplib


Import

import imaplib
from imaplib import IMAP4_stream

Signature & Overview

imaplib.IMAP4_stream(command)

IMAP4 client class over a stream Instantiate with: IMAP4_stream(command) "command" - a string that can be passed to subprocess.Popen()

Methods & Attributes

Usage

import imaplib

# Runs IMAP4 over stdin/stdout of a subprocess command (e.g., an SSH tunnel)
assert issubclass(imaplib.IMAP4_stream, imaplib.IMAP4)

Gotchas

REPL Inspect

from imaplib import IMAP4_stream
help(IMAP4_stream)

Linked from

Related notes