Weekly
feature-docs
Contents:
Welcome
API
Mail
Weekly
Docs
»
Mail
Edit on GitHub
Mail
¶
class
mail.mail.
Mail
(
prot
,
*argv
)
[source]
¶
__init__
(
prot
,
*argv
)
[source]
¶
Args:
prot (Instance Object): Protocol instance
*
argv (Pointer to array): Variable-length argument
login
(
account
,
passwd
)
[source]
¶
Parameters:
account
(
string
) – Mail account
passwd
(
string
) – Mail password
Returns:
Nothing
Return type:
void
quit
(
)
[source]
¶
Close an cleanup
send
(
frm
,
to
,
subject
,
content
)
[source]
¶
Args:
frm (str): source address of this email
to (str): target address of this email
subject (str): Subject of this email
content (str): Content of this email
Read the Docs
v: feature-docs
Versions
latest
feature-docs
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.