On this page
  1. smtplib.quotedata
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

smtplib.quotedata

Prev: smtplib.quoteaddr | Up: smtplib | Next: smtplib.SMTP
Rel: smtplib.quoteaddr, smtplib.SMTP, smtplib.SMTP_SSL, smtplib.SMTPAuthenticationError
Ref: docs.python.org — smtplib.quotedata
Tags: #public #python3 #stdlib #smtplib


Import

import smtplib
from smtplib import quotedata

Signature & Overview

smtplib.quotedata(data)

Quote data for email.

Usage

import smtplib

assert smtplib.quotedata(b'.leading') == b'..leading'

Gotchas

REPL Inspect

from smtplib import quotedata
help(quotedata)

Linked from

Related notes