Send Custom Emails
You can configure the IDOL Community component to send an email that contains details of a specific single document to a user.
-
Open the IDOL 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
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 IDOL 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
Library
toInstallDir/community/modules/user_email
to enable the mailing operation. -
If you are using a proxy server, specify the
ProxyHost
,ProxyPort
, yourProxyUsername
, and yourProxyPassword
. -
Use
SMTPHost
andSMTPPort
to specify the details of your mail server. -
Specify the template to use to create custom emails as the value of the
EmailActionXSLTemplate
parameter. - Restart the IDOL Community component for your changes to take effect.
-
Send a
Custom
action to Community:-
Set
Function
toemail
. -
Set
Library
to the name of the custom section in the IDOL Community component configuration file that sets up the mailing operation.
Refer to the IDOL Community component Reference for details on the
Custom
action. -
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.