Community Component 25.1
Community Component Help

# Send Custom Emails

You can configure the Community component to send an email that contains details of a specific single document to a user.

To configure the Community component to send custom emails

1. Open the Community component configuration file in a text editor.

2. Find the `[UserCustom]` section.

   If you already added a custom section to automatically email results to users, the same settings enable the sending of custom emails. If you are using this existing section, ensure that you specify the template to use for custom emails by using the EmailActionXSLTemplate parameter. Continue with Step 7.

   If you want Community to send custom emails without enabling automatic emailing of the agent and channel results, specify a new custom section. Continue with Step 2.

   NOTE: For details of configuration parameters, refer to the Community component Reference.

3. Add a section to the configuration file with the name that you specified in the `[UserCustom]` section.

4. In your new section, set Library to `InstallDir/community/modules/user_email` to enable the mailing operation.

5. If you are using a proxy server, specify the ProxyHost, ProxyPort, your ProxyUsername, and your ProxyPassword.

6. Use SMTPHost and SMTPPort to specify the details of your mail server.

7. Specify the template to use to create custom emails as the value of the EmailActionXSLTemplate parameter.

8. Save and close the configuration file.

9. Restart the Community component for your changes to take effect.

10. Send a Custom action to Community:

    - Set Function to `email`.

    - Set Library to the name of the custom section in the Community component configuration file that sets up the mailing operation.

The mailing operation uses the template that you specified as the value of the EmailActionXSLTemplate parameter to create the email that it sends to the specified user.

Related Topics

- Display Online Help

- Automatically Email Agent and Channel Results

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Community Component 25.1

Topic Title: Send Custom Emails