Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def sendmail(self, msg_from, msg_to, msg):
"""Remember the recipients."""
SMTP_dummy.msg_from = msg_from
SMTP_dummy.msg_to = msg_to
SMTP_dummy.msg = msg
def clear(self):
"""Reset class variables."""
SMTP_dummy.msg_from = None
SMTP_dummy.msg_to = []
SMTP_dummy.msg = None