Simple e-mail message class.
|
__init__(self,
author=None,
to=None,
subject=None,
**kw)
Instantiate a new Message object. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
_build_date_header_string(self,
date_value)
Gets the date_value (may be None, basestring, float or
datetime.datetime instance) and returns a valid date string as per
RFC 2822. |
source code
|
|
|
|
|
_add_headers_to_message(self,
message,
headers) |
source code
|
|
|
attach(self,
file,
name=None)
Attach an on-disk file to this message. |
source code
|
|
|
embed(self,
file,
name=None)
Attach an on-disk image file and prepare for HTML embedding. |
source code
|
|
|
|
|
|
|
|
Inherited from BaseMessage :
get_recipient ,
get_smtpfrom ,
kwpop ,
merge_if_set ,
pop_deprecated ,
send ,
set_recipient ,
set_smtpfrom
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__sizeof__ ,
__subclasshook__
|