trymail
index
 
Classes
 
class Email
    Class to send automatic mails
 
  Methods defined here:
__init__(self, user)
The self is created. The sender and recipient are defined. The recipient
    is obtained from the properties file, where it is saved as:
    "sendT"+user
    
Args:
    user: user name of the user who will receive the email.
sendmail(self, subject, text)
Sends an email with an specific content and subject
 
Args:   
    subject: title of the email
    text: content of the email
sendpic(self, bool, bool2)
Sends an email with information about the user account
 
Args:
    bool: boolean. If True, the email will include information about one
        of the words in the user's database. This word is randomly 
        generated.
    bool2: boolean. If True, the email will include the statistics about 
        the game to the user.