Package svnmailer :: Package notifier :: Module mail :: Class SendmailSubmitter
[hide private]

Class SendmailSubmitter

source code

object --+
         |
        SendmailSubmitter

Pipe all stuff to a mailer

Instance Methods [hide private]
 
sendMail(self, sender, to_addr, mail)
Sends the mail via a piped mailer
source code
list
_getMailCommand(self, sender, to_addr)
Returns the mailer command
source code

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

Class Variables [hide private]
  _settings = None
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_getMailCommand(self, sender, to_addr)

source code 

Returns the mailer command

The command is created using sendmail conventions. If you want another commandline, override this method.

Parameters:
  • sender (str) - The sender address
  • to_addr (list) - The receivers
Returns: list
The command