Package npsgd :: Module email_manager :: Class Email
[hide private]
[frames] | no frames]

Class Email

source code

object --+
         |
        Email

Actual e-mail object containing all information needed to send an e-mail.

The e-mail object includes the recipient, subject, body, attachments and also contains a method to send through a given smtp server.

Instance Methods [hide private]
 
__init__(self, recipient, subject, body, binaryAttachments=[], textAttachments=[])
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
sendThrough(self, smtpServer)
Sends this e-mail through a given smtp server (blocking).
source code

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, recipient, subject, body, binaryAttachments=[], textAttachments=[])
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)