Package turbomail :: Package transports :: Module smtp :: Class SMTPTransport
[hide private]
[frames] | no frames]

Class SMTPTransport

source code

   object --+    
            |    
api.Transport --+
                |
               SMTPTransport

hash(x)

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
close_connection(self) source code
 
stop(self)
Called by the manager before the transport instance is destroyed.
source code
 
is_connected(self) source code
 
_encrypt_connection_with_tls_if_configured(self, connection) source code
 
connect_to_server(self) source code
 
connect_to_server_if_nessary(self) source code
 
can_send_more_messages_on_this_connection(self) source code
 
send_with_smtp(self, message) source code
 
deliver(self, message) source code

Inherited from api.Transport: config_get

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

stop(self)

source code 

Called by the manager before the transport instance is destroyed. The transport can do some final cleanups (like releasing external resources) here.

Overrides: api.Transport.stop
(inherited documentation)

deliver(self, message)

source code 
Overrides: api.Transport.deliver