[Koha-patches] [PATCH] Add missing to and from email addresses to user and admin EnqueueLetter calls, respectively. Add extra level to verbosity.
Ryan Higgins
ryan.higgins at liblime.com
Fri Aug 8 15:00:43 CEST 2008
Yes, I'm getting nulls in the to_address and from_address in these two
cases without this patch.
On Fri, Aug 8, 2008 at 8:49 AM, Andrew Moore <andrew.moore at liblime.com>wrote:
> 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,
> > }
> > );
> > }
>
--
Ryan Higgins
LibLime * Open-Source Solutions for Libraries
Featuring KohaZOOM ILS
888-564-2457 x704
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-patches/attachments/20080808/ec627869/attachment-0002.htm>
More information about the Koha-patches
mailing list