Set "From " line, formatting and appending time_ if specified.
(self, from_, time_=None)
| 1726 | return self._from |
| 1727 | |
| 1728 | def set_from(self, from_, time_=None): |
| 1729 | """Set "From " line, formatting and appending time_ if specified.""" |
| 1730 | if time_ is not None: |
| 1731 | if time_ is True: |
| 1732 | time_ = time.gmtime() |
| 1733 | from_ += ' ' + time.asctime(time_) |
| 1734 | self._from = from_ |
| 1735 | |
| 1736 | def get_flags(self): |
| 1737 | """Return as a string the flags that are set.""" |
no outgoing calls