Searched refs:unixfrom (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Lib/email/ |
D | generator.py | 67 def flatten(self, msg, unixfrom=False): argument 78 if unixfrom: 203 g.flatten(part, unixfrom=False) 261 g.flatten(part, unixfrom=False) 288 g.flatten(msg.get_payload(0), unixfrom=False)
|
D | message.py | 122 return self.as_string(unixfrom=True) 124 def as_string(self, unixfrom=False): argument 137 g.flatten(self, unixfrom=unixfrom) 147 def set_unixfrom(self, unixfrom): argument 148 self._unixfrom = unixfrom
|
/external/python/cpython2/Doc/library/ |
D | email.generator.rst | 53 .. method:: flatten(msg[, unixfrom]) 60 Optional *unixfrom* is a flag that forces the printing of the envelope 132 ``unixfrom`` argument, and that you set maxheaderlen=0 (which will
|
D | email.message.rst | 39 .. method:: as_string([unixfrom]) 41 Return the entire message flattened as a string. When optional *unixfrom* 43 *unixfrom* defaults to ``False``. Flattening the message may trigger 64 Equivalent to ``as_string(unixfrom=True)``. 74 .. method:: set_unixfrom(unixfrom) 76 Set the message's envelope header to *unixfrom*, which should be a string.
|
D | rfc822.rst | 290 .. attribute:: Message.unixfrom
|
/external/python/cpython2/Lib/ |
D | rfc822.py | 138 self.unixfrom = '' 161 self.unixfrom = self.unixfrom + line
|
D | httplib.py | 299 self.unixfrom = '' 324 self.unixfrom = self.unixfrom + line
|
D | mailbox.py | 1595 unixfrom = message.get_unixfrom() 1596 if unixfrom is not None and unixfrom.startswith('From '): 1597 self.set_from(unixfrom[5:])
|