Home | Trees | Index | Help |
---|
Package email :: Module MIMENonMultipart :: Class MIMENonMultipart |
|
Message
--+ |MIMEBase
--+ | MIMENonMultipart
_TextMail
Base class for MIME multipart/* type messages.
Method Summary | |
---|---|
Add the given payload to the current payload. | |
Inherited from MIMEBase | |
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. | |
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 |
---|
attach(self, payload)Add the given payload to the current payload. The current payload will always be a list of objects after this method is called. If you want to set the payload to a scalar object, use set_payload() instead.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Mon Feb 14 16:49:18 2005 | http://epydoc.sf.net |