Table of Contents

Class: SMTPManagedRelayer | Twisted-0.17.4/twisted/mail/relaymanager.py
--- | ---

### SMTP Relayer which notifies a manager

Notify the manager about successful main, failed mail and broken connections

Base Classes |
--- | ---
relay.SMTPRelayer

Methods |
--- | ---
__init__ connectionFailed connectionLost sentMail
| __init__

    __init__ (
            self,
            messages,
            manager,
            )

### initialize with list of messages and a manager

messages should be file names. manager should support .notifySuccess, .notifyFailure and .notifyDone

| connectionFailed

    connectionFailed ( self )

### called when connection could not be made

our manager should be notified that this happened, it might prefer some other host in that case

| connectionLost

    connectionLost ( self )

### called when connection is broken

notify manager we will try to send no more e-mail

| sentMail

    sentMail ( self,  addresses )

### called when e-mail has been sent

we will always get 0 or 1 addresses.

Table of Contents

This document was automatically generated on Sat Apr 20 01:30:55 2002 by HappyDoc version 2.0