Integrations

Configuring email and messaging

You can configure the default behaviour of ResourceSpace with the following configuration options

System settings

To change the email address that system emails are sent from, navigate to Admin > System > System configuration and change the 'Email from address'.

The 'Email notify' address is no longer used. This has been replaced by $email_notify_usergroups.

TIP: If the address does not belong to a real user you can instead set up a dummy user account with the required email address and a secure password,then add the user to a dedicated notifications usergroup, log on as that user through user edit page and set their preferences as required. Then finally set the group ID in the $email_notify_usergroups e.g.

$email_notify_usergroups = array(8)

User settings

In the include/config.php file you can set the following options

$user_pref_resource_notifications
This sets the default user preference for receiving notifications about resource state changes e.g. resources submitted for review. This default can be changed by users. From version 10 the legacy resource submission notficitions have been replaced by actions so this option only affects a few notifications e.g those sent when a resource file is replaced or those sent to admins when $send_collection_to_admin is enabled
$user_pref_resource_access_notifications
This sets the default user preference for receiving notifications about resource requests*
$admin_resource_access_notifications
Sets the default behaviour for administrators to receive request notifications. For technical reasons this is different from the above)*
$user_pref_user_management_notifications
Sets the default behaviour for administrators to be notified about account requests*
$user_pref_system_management_notifications
Sets the default behaviour for administrators to be notified of system messages e.g. disk space*
$email_user_notifications
If true this sets the default preference to receive emails instead of system messages*
$email_and_user_notifications
If true this sets the default preference to receive emails AND system message*
$user_pref_daily_digest
If true this sets the default preference to receive a daily email digest of unread messages*
$user_pref_inactive_digest
If true this sets the default preference to receive a digest after not logging on for a set number of days (see next option)*
$inactive_message_auto_digest_period
This sets the number of days inactivity after which the automatic email digest will be sent if configured. Default is 7
$user_pref_daily_digest_mark_read
If true this will mark all unread messages as read once the digest email has been set*
$user_pref_show_notifications
Set to true to show notifications on screen as soon as they appear*
* Users can override these settings by changing their preferences