'Returns tuple (port, ssl) for current message\'s stream'

def get_smtp_port(self):

    port = 25
    ssl = False
    if (self.message.stream.outgoing_server_type == 'SMTP-SSL'):
        ssl = True
    return (port, ssl)
