Package trac :: Package notification :: Module api :: Class IEmailDecorator

Class IEmailDecorator

source code

    object --+    
             |    
core.Interface --+
                 |
                IEmailDecorator

Instance Methods
 
decorate_message(event, message, charset)
Manipulate the message before it is sent on it's way.
source code

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

Properties

Inherited from object: __class__

Method Details

decorate_message(event, message, charset)

source code 
Manipulate the message before it is sent on it's way.
Parameters:
  • event - a NotificationEvent
  • message - an email.message.Message to manipulate
  • charset - the email.charset.Charset to use