Adding a Send Email event action

Use the Send Email event action to send a scene to an email recipient after the assigned event occurs. For example, you might incorporate this action when the user clicks Preview on a particular scene, so as a result the scene is sent to an email recipient.

About this task

To add a Send email event action to an object:

Procedure

  1. From the Events view, select the object in the editor window. Double-click the event that you want to trigger.
  2. In the [objectname] Behavior window, click the Add icon. The Add New Action window opens.
  3. Select Send Email in the actions tree.
    Note: To quickly find the required event action, type the name of the action in the filter text field.
  4. Click Next. A dialog requesting the Send Email parameters opens.
  5. Specify the address that the email will be sent to in the To field.
  6. Specify the address that a carbon copy of the email will be sent to in the Cc field.
  7. Specify the subject of the email in the Subject field.
  8. Enter the body text of the email in the Message field.
  9. Specify the address that will send the email in the From field.
  10. To specify SMTP server parameters, click SMTP settings. In the SMTP Settings window, specify whether to use a server predefined by administrator or a custom one.
    1. If you decide to use a predefined SMTP server, select the required server from the list of predefined servers or click Add Server to create one.
    2. If you decide to use a custom server, specify server parameters including its address and port number. If the SMTP server requires authentication, select Use SMTP authentication, and then specify user name and password. If it is necessary to specify additional access preferences, click Advanced to open the Advanced SMTP Settings window where you can add required keywords supported by javamail. Click OK.
    Click OK to close the SMTP Settings window.
  11. To include an attachment with the email, create a local or global parameter that specifies the file path and file name of the item that you want to send.
  12. Select whether the file path is taken from a global or local parameter and what parameter is used in the Take file path from parameter drop-down lists.
    Note: Valid parameter types are FilePath, Literal, and Text.
  13. Click Finish. The Send Email action is added. The Add New Action window closes.
  14. From the [objectname] Behavior window, click the Apply button to apply all actions that have been added for the event.
  15. Click OK to close the [objectname] Behavior window.