<<

NAME

patron_emailer.pl

SYNOPSIS

patron_emailer.pl [--report ][--notice][--module] --library --from

 Options:
    --help                       brief help
    --report                     report ID to use as data for email template
    --notice                     specific notice code to use
    --module                     which module to find the above notice in
    --library                    specified branch for selecting notice, will use all libraries by default
    --from                       specified email for 'from' address, report column 'from' used if not specified
    --email                      specified column to use as 'to' email address, report column 'email' used if not specified
    --verbose                    increased verbosity, will print notices and errors
    --commit                     send emails, without this script will only report

OPTIONS

-help

Print brief help and exit.

-man

Print full documentation and exit.

-report

Specify a saved SQL report id in the Koha system to user for the emails. All, and only, columns in the report will be available for notice template variables

-notice

Specific notice (CODE) to select

-module

Which module to find the specified notice in

-library

Option to specify which branches notice should be used, 'All libraries' is used if not specified

-from

Specify the sender address of the email, if not specified a 'from' column in the report will be used.

-email

Specify the column to find recipient address of the email, if not specified an 'email' column in the report will be used.

-verbose

Increased verbosity, reports successes and errors.

-commit

Send emails, if omitted script will report as verbose.

<<