Home | History | Annotate | Download | only in email

Lines Matching full:line

21 This module does not do the line wrapping or end-of-line character conversion
23 decoding. To deal with the various line wrapping issues, use the email.header
68 """Encode a single header line with Base64 encoding in a given charset.
71 encoding, except that each line must be intelligently wrapped (respecting
77 End-of-line characters (\\r, \\n, \\r\\n) will be automatically converted
78 to the canonical email line separator \\r\\n unless the keep_eols
81 Each line of the header will be terminated in the value of eol, which
90 with each line wrapped at, at most, maxlinelen characters (defaults to 76
100 # Base64 encode each line, in encoded chunks no greater than maxlinelen in
111 for line in base64ed:
112 # Ignore the last character of each line if it is a newline
113 if line.endswith(NL):
114 line = line[:-1]
116 lines.append('=?%s?b?%s?=' % (charset, line))
128 Each line will be wrapped at, at most, maxlinelen characters (defaults to
131 If binary is False, end-of-line characters will be converted to the
132 canonical email end-of-line sequence \\r\\n. Otherwise they will be left
135 Each line of encoded text will end with eol, which defaults to "\\n". Set