code: def deliver(self, message, to):
          
          # Send the message via local SMTP server.
          s = smtplib.SMTP(self.host, self.port)
          # sendmail function takes 3 arguments: sender's address, recipient's address
          # and message to send - here it is sent as one string.
          s.sendmail(message['From'], to, message.as_string())
          s.quit()
          return
docs: Deliver our message
  
          Arguments:
          - `message`: MIMEMultipart
  
          Return: None
          Exceptions: None