def _send(self, message, fail_silently=False):
        seeds = '1234567890qwertyuiopasdfghjklzxcvbnm'
        file_part1 = datetime.now().strftime('%Y%m%d%H%M%S')
        file_part2 = ''.join(sample(seeds, 4))
        filename = join(self.tld, '%s_%s.eml' % (file_part1, file_part2))
        with open(filename, 'w') as fd:
            if not message.sender:
                message.sender = 'nobody'
            fd.write(str(message.to_message()))
Save message to a file for debugging
dataset/ETHPy150Open Pylons/pyramid_mailer/pyramid_mailer/mailer.py/DebugMailer._send