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