How to use the mailmerge.smtp_dummy.SMTP_dummy.msg function in mailmerge

To help you get started, we’ve selected a few mailmerge examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github awdeorio / mailmerge / mailmerge / smtp_dummy.py View on Github external
def clear(self):
        """Reset class variables."""
        SMTP_dummy.msg_from = None
        SMTP_dummy.msg_to = []
        SMTP_dummy.msg = None
github awdeorio / mailmerge / mailmerge / smtp_dummy.py View on Github external
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