Jennifer, The notice grouping discussion aside, you can try the following for your >From address to get the email address of the library at which the checkout occurred:
From: [%- params.sender_email || helpers.get_org_setting( target.0.circ_lib.id, 'org.bounced_emails') || default_sender %] helpers.get_org_setting(target.0.circ_lib.id, 'org.bounced_emails') will get the value of the library setting "Sending email address for patron notices" (aka org.bounced_emails) for the circ library of the first checkout on the notice. Hope this helps, Michele -- Michele M. Morgan, Technical Support Analyst North of Boston Library Exchange, Danvers Massachusetts [email protected] On Wed, Aug 23, 2017 at 5:54 PM, Terran McCanna < [email protected]> wrote: > >>Is there a way to group notices by circulating library?<< > > I'm not really sure - I would think it would have to group it by both usr > AND circ library (so a user might get multiple emails, but each email > would have items grouped for a specific circ library) and I don't think > that's currently possible in the action trigger interface (hopefully > someone will correct me if I'm wrong). > > I'm trying to think of other ways to approach it... > > You could still use the usr grouping, but grab the circ library from the > first item in the group - this would work for most emails, except when a > patron had items due for more then one library on the same day. > > You could also list the library & email address of the circ library along > with each item that is listed. That would potentially make the emails much > longer, and they wouldn't always just be able to hit Reply, but at least > the information would be accurate. > > > Terran McCanna > PINES Program Manager > Georgia Public Library Service > 1800 Century Place, Suite 150 > Atlanta, GA 30345 > 404-235-7138 <(404)%20235-7138> > [email protected] > > > On Wed, Aug 23, 2017 at 5:45 PM, Walz, Jennifer <[email protected]> wrote: > >> Terran, >> >> >> >> Nope. And I think that is where the difficulty lies. We are not >> sure how to send out notices so that when the person replies, they are >> responding to the circulating library where the item originated – and NOT >> to their home library (who has no idea about that item). >> >> >> >> Does that make sense? How then should we set these up so that they >> work in a different manner. We don’t want to keep confusing the patrons. >> But it IS nice that one notice goes out for all items. Rather than >> the patron maybe getting one notice for each and every item. Oy! Is >> there a way to group notices by circulating library? >> >> >> >> Thanks! >> >> >> >> Jennifer >> >> >> >> *From:* Open-ils-general [mailto:open-ils-general-bounc >> [email protected]] *On Behalf Of *Terran McCanna >> *Sent:* Wednesday, August 23, 2017 5:40 PM >> *To:* Evergreen Discussion Group >> *Subject:* Re: [OPEN-ILS-GENERAL] FROM field in the action trigger >> notices? >> >> >> >> Hi Jennifer, >> >> Most of our notices are grouped by usr so that the patron gets 1 message >> with multiple items rather than an individual message for each item. >> Because there can be multiple items, there can also be multiple circulating >> libraries. Are you sending an individual message for each item? >> >> >> Terran McCanna >> PINES Program Manager >> Georgia Public Library Service >> 1800 Century Place, Suite 150 >> Atlanta, GA 30345 >> 404-235-7138 <(404)%20235-7138> >> [email protected] >> >> >> >> On Wed, Aug 23, 2017 at 4:45 PM, Walz, Jennifer <[email protected]> >> wrote: >> >> All – >> >> >> >> We are having some issues with our notices. When they go out, they have >> this in the template: >> >> >> >> From: [%- params.sender_email || helpers.get_org_setting(user.home_ou, >> 'org.bounced_emails') || default_sender %] >> >> >> >> However, we would like the FROM field to have the CIRCULATING Library >> as the FROM library. How do we do that? Currently, it looks like it is >> coming from the home library. But the item generating the notice is the >> circulating library and that one is different. We would like that email >> to be in the FROM field. >> >> >> >> Thanks! >> >> >> >> Jennifer >> >> -------------------------------------------------- >> Jennifer Walz, MLS - Head of ILS emails >> Kinlaw Library - *Asbury University* >> One Macklem Drive, Wilmore, KY 40390 >> 859-858-3511 ext. 2269 <(859)%20858-3511> >> [email protected] >> >> >> >> >> > >
