bug 2274 [1/5] database changes (DB rev 097) to add email address to message_queue...
authorAndrew Moore <andrew.moore@liblime.com>
Wed, 9 Jul 2008 16:56:39 +0000 (11:56 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Thu, 10 Jul 2008 14:10:42 +0000 (09:10 -0500)
commit74118daa82885bacd427148b57ff1d04a33136cb
tree2fde9b69e58b65e959b6c807d8763398cd6af503
parente9b7ce803f8cece7030b4db8c633d1a137a4b6a8
bug 2274 [1/5] database changes (DB rev 097) to add email address to message_queue table

I added three fields to the message_queue table:
 - to_address
 - from_address
 - content_type: necessary to hold email header for attachments
I changed one field in message_queue:
 - borrowernumber can now be NULL for messages sent to the admin

These can be used to override the default addresses used. By default, emails are sent to
the borrowers.email address and sent from the KohaAdminEmailAddress syspref address. These
values are still used if the to_address or from_address values are NULL. These changes
are necessary to let overdue_notices.pl be backwards compatible.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl
kohaversion.pl