Send Custom Emails
You can configure the Community component to send an email that contains details of a specific single document to a user.
-
Open the Community component configuration file in a text editor.
-
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
EmailActionXSLTemplateparameter. 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.
-
Add a section to the configuration file with the name that you specified in the
[UserCustom]section. -
In your new section, set
LibrarytoInstallDir/community/modules/user_emailto enable the mailing operation. -
If you are using a proxy server, specify the
ProxyHost,ProxyPort, yourProxyUsername, and yourProxyPassword. -
Use
SMTPHostandSMTPPortto specify the details of your mail server. -
Specify the template to use to create custom emails as the value of the
EmailActionXSLTemplateparameter. - Restart the Community component for your changes to take effect.
-
Send a
Customaction to Community:-
Set
Functiontoemail. -
Set
Libraryto the name of the custom section in the Community component configuration file that sets up the mailing operation.
For more infomration about the
Customaction, refer to the Community component Reference. -
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.