8.18.32016-03-14

Send Email

Send Email output tasks send the data files they receive via email.

In some combinations of Microsoft Outlook and Windows versions, it is not possible for Outlook to be opened while PReS™ Workflow is running, so emails are not sent out automatically. To correct this, make sure to logon to Windows on the PReS™ server using the same login that PReS™ is using, and open Outlook before starting the PReS™ services. You could also use a startup process to start Outlook before the rest of the services.

Input

Any data file.

Processing

While an email is always sent by this task (or at least attempted to be sent), the contents of the file and presence of attachments depends on the selected option. Refer to the properties' descriptions below to know what each option does.

Once the contents of the file and attachments is determined, the email (and attachments) is either sent directly to the selected SMTP server, or is deposited in the "Outbox" folder of the local Microsoft Outlook account.

Task Properties

Recipients tab

Different email clients have different support for various features, especially with HTML emails. In most cases, if you want to send your email as an HTML message, your very first line should start with <html> or <!doctype html>. It should not be any other character). Also note that it is not currently possible to send both an HTML and plain-text version of your message.

Attachments tab

Use this tab to add the files received by this task (plus any other file that you may choose to attach) to the emails sent by PReS™.

Login tab

Examples & Use Cases

This task is put into effect in the following use cases and example processes:

On Error Tab

By default, any action task, branch, splitter or condition that generates an error will simply be ignored, and the task just under it (not within a branch) will be given control of the job file without any modification. Any initial input task that generates an error will stop the process from running as a whole, and output tasks will not generate output. The On Error tab can be used to overwrite the default behaviors.

If storing the message or ID, if they are store in a jobinfo they will be available in any error handling process where errors are being forwarded. In all cases, if your process continues after the error, the contents of the variables selected in this window will be available for the rest of your process, or whenever they are overwritten.

Common Errors

Though some error messages are specific to a task in particular, others may apply to any and all tasks because they are related more to the system than to PlanetPress itself. Some examples would be W3813, W3830, W3991, W4005. These correspond to issues such as not having any space to write files, permission errors on folders or files, etc.

Comments Tab

The Comments tab, added in PlanetPress Suite 7.5, is common to all tasks. It contains a single text area (Task comments) that lets you write comments about the task. These comments are saved when the dialog is closed with the OK button, and are displayed in The Task Comments Pane.