twisted.mail.interfaces.IMessageIMAPFile(Interface) interface documentationtwisted.mail.interfaces
          View Source
          (View In Hierarchy)
        
      Optional message interface for representing messages as files.
If provided by message objects, this interface will be used instead the more complex MIME-based interface.
| Method | open | Return a file-like object opened for reading. | 
Return a file-like object opened for reading.
Reading from the returned file will return all the bytes of which this message consists.