'Initialize the SMTP service.'

def __init__(self, server, port, timeout, sender, encryption, username, password, recipients, sender_name, debug):

    self._server = server
    self._port = port
    self._timeout = timeout
    self._sender = sender
    self.encryption = encryption
    self.username = username
    self.password = password
    self.recipients = recipients
    self._sender_name = sender_name
    self.debug = debug
    self.tries = 2
