[Koha-patches] [PATCH] Add missing to and from email addresses to user and admin EnqueueLetter calls, respectively. Add extra level to verbosity.

Andrew Moore andrew.moore at liblime.com
Fri Aug 8 14:49:07 CEST 2008


Hi Ryan -

I think that process_message_queue.pl defaults these in from the
borrowers table based on borrowernumber. Are you actually seeing a
problem with the way it works?

-Andy


On Thu, Aug 7, 2008 at 8:38 PM, Ryan Higgins <rch at liblime.com> wrote:
>                 my $letter = C4::Letters::getletter( 'circulation', $overdue_rules->{"letter$i"} );
>                 unless ($letter) {
> @@ -409,6 +409,7 @@ END_SQL
>                             {   letter                 => $letter,
>                                 borrowernumber         => $borrowernumber,
>                                 message_transport_type => 'email',
> +                                to_address           => $email,
>                                 from_address           => $admin_email_address,
>                             }
>                         );
> @@ -464,6 +465,7 @@ END_SQL
>                     message_transport_type => 'email',
>                     attachments            => [$attachment],
>                     to_address             => $admin_email_address,
> +                    from_address           => $admin_email_address,
>                 }
>             );
>         }



More information about the Koha-patches mailing list