def getMail(self, parse=False):
        msg = self.smtp.mailQueue.get(block=False)

        if parse:
            return email.message_from_string(msg)
        else:
            return msg
Return the message at the front of the queue.
dataset/ETHPy150Open girder/girder/tests/mock_smtp.py/MockSmtpReceiver.getMail