Configure mail service
You can configure the e-mail notification for new community members for composite application communities.
In order to use the feature Enable sending e-mail to new members for composite application communities, configure the portal MailService by doing all of the following in the administrative console:
- Define a new mail session. For details about how to do this refer to the IBM WAS information center under http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.base.doc/info/welcome_base.html. Search for the topic about configuring mail providers and sessions. Depending on the version of the information center, this might be under WAS (Distributed platform) > Administering applications and their environment > Administering WebSphere applications > Mail, URLs, and other J2EE resources > Configuring mail providers and sessions .
- Create a new resource Environment Provider with the name WP MailService and with the following two custom properties:
- mail.from.fallback = ( root@your.host.com )
- Specify the replacement e-mail address that the mail sending service will use if a sender address does not comply with RFC822. - The mail sending service checks that the sender address of each e-mail complies with RFC822. If the sender address does not comply with RFC822, that sender address is replaced by the e-mail address specified by this property. The default is root@your.host.com .
This is an example e-mail address; its format is valid by RFC822, but it does not point to real address.
- mail.jndi.name = ( mail/PortalMailService )
- Specify the JNDI name of the mail session that is to be used. The default is mail/PortalMailService .
For debugging purposes use the following trace string to trace the Mail Service and its initialization: com.ibm.wps.services.mail.*=all .
Parent topic:
Assembling composite applications
Related tasks
Notifying new members