Home
Enable e-mail notifications
Edit configuration settings to enable e-mail notifications in the Lotus Connections features if you did not do so during the installation.
Only complete this procedure if you did not enable e-mail notifications during the product installation. Complete the steps described in the Configuring notifications topic before you can start this procedure.
You might choose not to enable e-mail notifications if you have configured Lotus Connections to hide e-mail addresses, for example. Even when you do not enable e-mail notifications, if you installed the Home page feature, the product still supports a subset of notifications that can be displayed in the Home page feature. The subset consists of the following notifications:
- Activities: notify
- Blogs: notify
- Bookmarks: notify
- Communities: memberAdded and requestToJoin
- Profiles: notify
To configure e-mail notifications...
- Open a command window, and then start the wsadmin command line tool. See Starting the wsadmin client for more details.
- Access the Lotus Connections configuration files:
- Single server:
execfile("connectionsConfig.py")
- Cluster:
execfile("WAS_HOME/profiles/Dmgr01/config/bin_lc_admin/connectionsConfig.py")
- Check out the notification-config.xml file...
LCConfigService.checkOutNotificationConfig("<temp_dir>","cell_name")where
- <temp_dir> is the temporary to which the configuration XML and XSD files are copied and are stored while you make changes to them. Use forward slashes to separate directories in the file path, even if you are using the Microsoft Windows operating system.
- cell_name is the WebSphere Application Server cell to which you installed the feature for which you are enabling mail. This argument is required even in stand-alone deployments. This argument is also case-sensitive, so type it with care.
To enable mail for all of the features and if you installed Lotus Connections into multiple WebSphere Application Server profiles, for example: Activities is installed on AppSrv01, Blogs is installed on AppSrv02, and so on), then there is a notification-config.xml file for each component. If you used this type of deployment, perform these steps to edit the notification-config.xml file associated with each WebSphere Application Server profile. For example:
- AIX/Linux:
LCConfigService.checkOutNotificationConfig("/opt/temp","foo01Cell01")
- Microsoft Windows:
LCConfigService.checkOutNotificationConfig("c:/temp","foo01Cell01")
- From the temporary to which you checked out the notification-config.xml file, open it in a text editor.
- Search for the xsi:noNamespaceSchemaLocation="notification-config.xsd" string to find the <config> element that contains the XML markup which enables the notification-config.xsd file.
- Change the value of the enabled attribute to true. For example:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" enabled="true" id="notification-config" version="2.5" xsi:noNamespaceSchemaLocation="notification-config.xsd">
- Search for the <source name="<featureName>" string to find the section of XML markup that defines the notification settings for the feature for which you want to enable e-mail notifications.
- Change the value of the enabled attribute associated with the <source> element to true. For example:
<source enabled="true" imagesURL="{notification.source.url}/images/" name="Activities"> <type name="notify"> <channel enabled="false" name="email"> <property name="sender">activities-admin@your-email-domain.com</property> <property name="url">{notification.source.url}/email/notifyMail.jsp</property> </channel> ... </source>
- Save and close the notification-config.xml file.
- Check in the configuration files...
LCConfigService.checkInNotificationConfig("<temp_dir>","<cell-name>")
If you plan to specify administrator e-mail addresses now, keep the notifcation-config.xml file checked out; edit values in it to complete the next procedure.
See Defining valid administrator e-mail addresses for some additional steps that take to configure automatic notifications in Activities.
Related tasks
Change common configuration property values
Define valid administrator e-mail addresses
Sending mail from any available mail server
Sending mail from a dedicated mail server