'Process email'

def process_email(self):

    message = self.message
    if message.reply_to:
        subject = ('Re:    %s' % message.reply_to.title)
    else:
        subject = message.title
    body = strip_tags(message.body)
    html = message.body
    for recipient in message.recipients.all():
        if (recipient.id == message.author_id):
            continue
        toaddr = recipient.get_email()
        if (message.stream and message.stream.outgoing_server_name):
            fromaddr = (((unicode(message.author) + '    <') + unicode(message.stream.outgoing_email)) + '>')
            login = message.stream.outgoing_server_username
            password = message.stream.outgoing_password
            (port, ssl) = self.get_smtp_port()
            BaseEmail(message.stream.outgoing_server_name, login, password, fromaddr, toaddr, subject, body, signature=None, html=html, port=port, ssl=ssl).send_email()
        else:
            SystemEmail(toaddr, subject, body, signature=None, html=html).send_email()
