'Create an L{SMTPManagedRelayer}.
@type addr: L{IAddress <twisted.internet.interfaces.IAddress>} provider
@param addr: The address of the SMTP server.
@rtype: L{SMTPManagedRelayer}
@return: A managed relayer for SMTP.'

def buildProtocol(self, addr):

    protocol = self.protocol(self.messages, self.manager, *self.pArgs, **self.pKwArgs)
    protocol.factory = self
    return protocol
