Package conduit :: Package datatypes :: Module Email :: Class Email
[hide private]

Class Email

source code


Basic email representation. Based on: http://aspn.activestate.com/ASPN/docs/ActivePython/2.4/python/lib/node597.html

Instance Methods [hide private]
 
__init__(self, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
has_attachments(self) source code
 
add_attachment(self, path) source code
 
set_from_email_string(self, text_source) source code
 
get_email_string(self) source code
 
get_subject(self) source code
 
__getstate__(self)
Store the object state in a dict for pickling
source code
 
__setstate__(self, data)
Set object state from dict (after unpickling)
source code
 
get_hash(self) source code

Inherited from DataType.DataType: compare, get_UID, get_mtime, get_open_URI, get_rid, get_snippet, get_tags, get_type, set_UID, set_mtime, set_open_URI, set_tags

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
string _name_ = "email"
The name of the type
Instance Variables [hide private]

Inherited from DataType.DataType: UID, URI

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, **kwargs)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: DataType.DataType.__init__

__getstate__(self)

source code 
Store the object state in a dict for pickling
Overrides: DataType.DataType.__getstate__
(inherited documentation)

__setstate__(self, data)

source code 
Set object state from dict (after unpickling)
Overrides: DataType.DataType.__setstate__
(inherited documentation)

get_hash(self)

source code 
Overrides: DataType.DataType.get_hash