'Redirect messages to the dummy outbox'

def send_messages(self, messages):

    msg_count = 0
    for message in messages:
        message.message()
        mail.outbox.append(message)
        msg_count += 1
    return msg_count
