Specifying mail settings
The send mail resource manipulation action allows you to automatically send generated resources in an email.
About this task
Procedure
- Open the Specify resource manipulation type page of the Action Wizard.
- Click Send mail and then click Next.
The Specify mail settings page opens.
- Specify the format of the body text in the Format list. The available formats are Text and HTML
- Specify the recipient of the email in the To field.
- Specify any additional recipients in the Cc field.
- Specify the subject of the email in the Subject field.
- Specify the text of the email in the Message field.
You can attach images as well as files of other available types.
If you want to include an embedded image in the text of the email, you must insert the following HTML snippet into the text:
where<img src=”cid:[image name]”></img>
cid:
is the standard abbreviated content identifier required when referencing an embedded image within a formatted email, and where[image name]
is the name of the image file. For example, to embed an image file namedimage1.png
, you would insert the following HTML snippet into the text of the email:<img src=”cid:image1.png”></img>
-
Specify the email address that will send the email in the From
field.
For each of the fields on the Specify mail settings page you can click the ellipses button (...) to access the Formula Editor. Use the Formula Editor to specify conditional values.
-
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. -
Click Add.
The Enter a path as a text or formula window opens.
-
Specify the path to the resource that you want the task to send in an email and click
OK.
The Enter a path as a text or formula window closes.
- In the Attachments area,
select the required options from two lists.
- From the first list select the attachment that you want
to add automatically. The available options are:
- No automatic attachments not to attach any resource automatically.
- Attach marked only to attach only the resources that were marked in the export or copy operations.
- Attach all to attach all resources created in the export or copy operations.
- From the second list select the procedure that you want
to apply to the attachments after the action execution. The available
options are:
- Clear all automatic attachments to delete all attachments sent automatically after the action execution.
- Clear automatic attachments in the group to delete all automatic attachments, which are created for a group of actions with the sending an email action, after the action execution.
- Do not clear automatic attachments to store all automatic attachments after the action execution.
- From the first list select the attachment that you want
to add automatically. The available options are:
- Click Finish.
The Action Wizard closes and control returns to the Task window.