'Initialize the handler.
We have extended the constructor to accept a username/password
for SMTP authentication.'

def __init__(self, mailhost, username, password, fromaddr, toaddrs, subject):

    super(AuthSMTPHandler, self).__init__(mailhost, fromaddr, toaddrs, subject)
    self.username = username
    self.password = password
