Configure mail service
You can configure the email notification for new community members for composite application communities.
To enable users to send email to new members for composite application communities, configure the portal MailService by doing all of the following steps in the administrative console:
For debugging purposes use the following trace string to trace the Mail Service and its initialization: com.ibm.wps.services.mail.*=all .
- Define a new mail session. For details about how to do this, refer to the IBM WebSphere Application Server information center at http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/welcome.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) -> Administer applications and their environment -> Administer WebSphere applications -> Mail, URLs, and other J2EE resources -> Configure 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 )
Use this property to specify the replacement email 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 email complies with RFC822. If the sender address does not comply with RFC822, that sender address is replaced by the email address specified by this property. The default is root@your.host.com . This is an example email address; its format is valid by RFC822, but it does not point to real address.
mail.jndi.name = ( mail/PortalMailService )Use this property to specify the JNDI name of the mail session that is to be used. The default is mail/PortalMailService .
Parent
Work with composite applications
Related tasks
Notifying new members