Package screenlets :: Package plugins :: Module Mail
[hide private]
[frames] | no frames]

Module Mail

source code

Classes [hide private]
  MailboxStatus
  MailCheckStatus
  MailCheckBackend
The backend class which performs checking for mail and offers access to the current mail-backend.
  IMAPBackend
A backend for retrieving the mailcount from an IMAP server.
  Mailer
Class that retrieve the information from an Imap, Pop or mbox account
  POP3Backend
A backend for retrieving the mailcount from a POP3 server.
Functions [hide private]
 
get_KMail_num()
This gets the unread mail number of kmail
source code
 
get_GMail_Num(login, password)
This output the number of messages of gmail box
source code
 
get_Mail_Num(server, login, passwd)
This output the number of messages of mail box
source code
 
send_mail(smtp_server, fromaddr, toaddrs, subject, msg)
Send mail via SMTP
source code
Variables [hide private]
  MSG_CONNECTION_FAILED = 'Error while connecting to server.'
  MSG_FETCH_MAILS_FAILED = 'Unable to retrieve mails from server.'
  MSG_AUTH_FAILED = 'Error on login - invalid login data given? ...
Variables Details [hide private]

MSG_AUTH_FAILED

Value:
'''Error on login - invalid login data given? Some hosts
may block connections for a certain interval before allowing reconnect\
s.'''