http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6810
David Cook <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff --- Comment #21 from David Cook <[email protected]> --- (In reply to Owen Leonard from comment #20) > > 5) Go to your koha database and check message_queue table you see some > > results. > > I confirm that the correct message has been added to the queue, but it > doesn't contain an email address in the to_address column. Checking > membership_expiry.pl it looks like it doesn't pass a "to_address" at all: > > C4::Letters::EnqueueLetter( { letter => $letter, > borrowernumber => $recent->{'borrowernumber'}, > from_address => $from_address, > message_transport_type => 'email', > } ); If I recall correctly, queued messages don't need a "to_address". When the message is being sent via process_message_queue.pl, it will lookup the email address using the borrowernumber and the "AutoEmailPrimaryAddress" system preference. Relevant subs are C4::Letters::SendQueuedMessages (in process_message_queue.pl), and C4::Members::GetNoticeEmailAddress (within the C4::Letters function calls). -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
