| Home | Trees | Index | Help | 
       | 
  
|---|
| Module mimetools :: Class Message | 
  | 
Message --+
          |
         Message
| Method Summary | |
|---|---|
Initialize the class instance and read the headers.  | |
getencoding(self)
 | |
getmaintype(self)
 | |
getparam(self,
          name)
 | |
getparamnames(self)
 | |
getplist(self)
 | |
getsubtype(self)
 | |
gettype(self)
 | |
parseplist(self)
 | |
parsetype(self)
 | |
| Inherited from Message | |
Determine whether a message contains the named header.  | |
Delete all occurrences of a specific header, if it is present.  | |
Get a specific header, as from a dictionary.  | |
 | |
Get the number of headers in a message.  | |
Set the value of a header.  | |
 | |
Get the header value for a name.  | |
Get a single address from a header, as a tuple.  | |
Get a list of addresses from a header.  | |
Find all header lines matching a given header name.  | |
Retrieve a date field from a header.  | |
Retrieve a date field from a header as a 10-tuple.  | |
Get the first header line matching name.  | |
Get the header value for a name.  | |
Get all values for a header.  | |
A higher-level interface to getfirstmatchingheader().  | |
Determine whether a message contains the named header.  | |
Determine whether a line should be skipped entirely.  | |
Determine whether a given line is a legal header.  | |
Determine whether a line is a legal end of RFC 2822 headers.  | |
Get all of a message's headers.  | |
Get all of a message's header field names.  | |
Read header lines.  | |
Rewind the file to the start of the body (if seekable).  | |
 | |
Get all of a message's header field values.  | |
| Method Details | 
|---|
  __init__(self,
          fp,
          seekable=1)
    
  Initialize the class instance and read the headers.
   | 
| Home | Trees | Index | Help | 
       | 
  
|---|
| Generated by Epydoc 2.1 on Fri Jul 27 17:40:03 2007 | http://epydoc.sf.net |