Lines Matching defs:email
3 # Contact: email-sig@python.org
14 import email.base64mime
15 import email.quoprimime
17 from email import errors
18 from email.encoders import encode_7or8bit
69 # them to the real ones used in email.
173 """Map character sets to their email properties.
175 This class provides information about the requirements imposed on email
179 information on how to use that character set in an email in an
183 when used in email headers or bodies. Certain character sets must be
184 converted outright, and are not allowed in email. Instances of this
188 are converted to their `official' email names (e.g. latin_1
192 used in an email header, this attribute will be set to
203 used in email headers or bodies. If the input_charset is
367 return email.base64mime
369 return email.quoprimime
371 len64 = email.base64mime.header_length(header_bytes)
372 lenqp = email.quoprimime.header_length(header_bytes)
374 return email.base64mime
376 return email.quoprimime
394 return email.base64mime.body_encode(string)
405 return email.quoprimime.body_encode(string)