---- Reported by bchurch@ptfs.com 2008-10-01 10:08:05 ---- The AutoEmailPrimaryAddress only applies to the feature where a borrower is automatically sent an email when their account is created. This preference works in conjunction with the AutoEmailOpacUser preference. A system preference should be used universally for email notices and not just for one feature. According to my information, if the preference is set to OFF, Koha checks email, emailpro, and B_email (in that order) and uses what looks like the first valid email address. ---- Additional Comments From paul.poulain@biblibre.com 2009-04-18 23:50:56 ---- could someone write here which mails should use this syspref, pls. Would be much easier to fix ! ---- Additional Comments From bchurch@ptfs.com 2009-04-20 16:32:16 ---- The AutoEmailPrimaryAddress preference should apply to the various email notices sent to patron, which are: CHECKIN - Item Check in CHECKOUT - Item Checkout DUE - Item Due Reminder DUEDGST - Item Due Reminder (Digest) EVENT - Upcoming Library Event ODUE - Overdue Notice PREDUE - Advance Notice of Item Due PREDUEDGST - Advance Notice of Item Due (Digest) HOLD - Hold Available for Pickup It is my understanding that these notices use the address in the "email" field only. If there is no address in this field, Koha does not search for another email address. --- Bug imported by chris@bigballofwax.co.nz 2010-05-21 00:54 UTC --- This bug was previously known as _bug_ 2657 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=2657 Actual time not defined. Setting to 0.0 The original reporter of this bug does not have an account here. Reassigning to the person who moved it here: chris@bigballofwax.co.nz. Previous reporter was bchurch@ptfs.com. CC member rch@liblime.com does not have an account here
This syspref is now used in members/memberentry.pl: if (C4::Context->preference("AutoEmailPrimaryAddress") ne 'OFF' && C4/Reserves.pm: my $which_address = C4::Context->preference('AutoEmailPrimaryAddress'); C4/Letters.pm: my $which_address = C4::Context->preference('AutoEmailPrimaryAddress'); Is there a place missing ?
This bug was reported against version 3.0 which is no longer maintained. There are no newer bug reports for AutoEmailPrimaryAddress and bug 6302 confirms, that it's also used for overdue notices. I am closing this bug, please reopen if I missed something.