Home | Trees | Index | Help |
---|
Package email :: Module MIMEBase :: Class MIMEBase |
|
Message
--+
|
MIMEBase
MIMENonMultipart
Base class for MIME specializations.
Method Summary | |
---|---|
This constructor adds a Content-Type: and a MIME-Version: header. | |
Inherited from Message | |
| |
Delete all occurrences of a header, if present. | |
Get a header value. | |
Return the total number of headers, including duplicates. | |
Set the value of a header. | |
Return the entire formatted message as a string. | |
Extended header setting. | |
Add the given payload to the current payload. | |
Return the entire formatted message as a string. | |
Add the given payload to the current payload. | |
Remove the given parameter completely from the Content-Type header. | |
Get a header value. | |
Return a list of all the values for the named field. | |
Return the boundary associated with the payload if present. | |
Return the Charset instance associated with the message's payload. | |
Return a list containing the charset(s) used in this message. | |
Return the charset parameter of the Content-Type header. | |
Return the message's main content type. | |
Returns the message's sub-content type. | |
Return the message's content type. | |
Return the `default' content type. | |
Return the filename associated with the payload if present. | |
Return the message's main content type if present. | |
Return the parameter value if found in the Content-Type header. | |
Return the message's Content-Type parameters, as a list. | |
Return a reference to the payload. | |
Return the message's content subtype if present. | |
Returns the message's content type. | |
| |
Return true if the message contains the header. | |
Return True if the message consists of multiple parts. | |
Get all the message's header fields and values. | |
Return a list of all the message's header field names. | |
Replace a header. | |
Set the boundary parameter in Content-Type to 'boundary'. | |
Set the charset of the payload to a given character set. | |
Set the `default' content type. | |
Set a parameter in the Content-Type header. | |
Set the payload to the given value. | |
Set the main type and subtype for the Content-Type header. | |
| |
Return a list of all the message's header values. | |
Walk over the message tree, yielding each subpart. |
Method Details |
---|
__init__(self,
_maintype,
_subtype,
**_params)
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Mon Feb 14 16:49:17 2005 | http://epydoc.sf.net |