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
- From the Events view, select the
object in the editor window. Double-click the event that you want
to trigger.
- In the [objectname] Behavior window,
click the Add icon. The Add New Action window
opens.
- 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.
- Click Next. A dialog requesting
the Send Email parameters opens.
- Specify the address that the email will be sent to in the To field.
- Specify the address that a carbon copy of the email will
be sent to in the Cc field.
- Specify the subject of the email in the Subject field.
- Enter the body text of the email in the Message field.
- Specify the address that will send the email in the From field.
- 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.
- 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.
- 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.
- 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.
- 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.
- Click Finish. The Send
Email action is added. The Add New Action window
closes.
- From the [objectname] Behavior window,
click the Apply button to apply all actions
that have been added for the event.
- Click OK to close the [objectname]
Behavior window.