Bug 11678: Gather print notices: add --email parameter
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 23 Jan 2014 12:12:30 +0000 (13:12 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 4 Nov 2015 14:10:19 +0000 (11:10 -0300)
commitad8e8f335a0c15aa36113e5e0b429d3aff1e4f41
tree1758412f8f66edc98d2fd43482fc3db7f946bea9
parent3e0b35c15db408593b0d1a1a4c381750f8d3bec8
Bug 11678: Gather print notices: add --email parameter

This patch add the ability to send generated files by email.

You can specify several emails.

Test plan:
- same as Bug 11603
- call the script misc/cronjobs/gather_print_notices.pl with the
  following parameters:

perl misc/cronjobs/gather_print_notices.pl /tmp/test --csv --ods --html
--letter_code=CHECKIN -d=: --email="email_one@example.org"
--email="email_two@example.org"

Signed-off-by: Frederic Demians <f.demians@tamil.fr>
  - Works as desribed. Rebased upon bug-11603.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
misc/cronjobs/gather_print_notices.pl