David Goodger <goodger@python.org>


Patch
r850086

r850086 | cmpilato | 2004-06-16 09:34:53 -0500 (Wed, 16 Jun 2004)

Finish issue #1912 - Teach mailer.py to support multiple To:
addresses.

Patch by: David Goodger <goodger@python.org>
(Tweaked by me.)

* tools/hook-scripts/mailer/mailer.py
  (MailedOutput.start): Rename to_addr to to_addrs, and populate by
    splitting on whitespace (and filter out empty results).
  (MailedOutput.mail_headers, SMTPOutput.finish, PipeOutput.start):
    Rename to_addr to to_addrs, and treat as a list instead of a
    string.

* tools/hook-scripts/mailer/mailer.conf.example
  (from_addr, to_addr): Fix the descriptions of these default values.