Send Mail

Sends an e-mail message using SMTP.

Inherits from: Unattended Activity

Properties

The following 16 properties are defined.

Property Name Description
General
Mail Server Type: String

The host name or IP address of an IMAP mail server.

User Name Type: String

The user name to be used for accessing the Mail Server.

Password Type: String

The password to be used for accessing the Mail Server.

Enable SSL Type: Boolean, Default: True

Controls whether the connection to the Mail Server will be established using SSL.

Port No Type: Int32, Default: 587

The port number on which the SMTP server is running. The default port number is 587. Other common SMTP port numbers 25, 465, and 2525.

Timeout Type: Int32, Default: 10

The timeout, in seconds, to use when sending mail.

Mail Message
To Type: String

The list of recipients for the mail message.

CC Type: String

The list of CC recipients for the mail message.

Subject Type: String

The subject line for the mail message.

Body Type: String

The body of the mail message.

Attachments
Content File Type: Export Format

The content format to be used when generating the message attachment. Can be one of the following values:

  • Native Format - Outputs the native file associated with a Grooper document.
  • PDF Format - Outputs a PDF file representing the content of a Grooper document.
  • TIF Format - Outputs a TIF file representing the content of a Grooper document.

Metadata Type: Meta Data Exporter

The format to be used when generating Metadata, to be attached to the message. Can be one of the following values:

  • Custom - Exports a custom named file, which was previously generated and saved by another activity.
  • Text - Exports metadata as a text file.
  • XML - Exports standard Grooper XML representing the document's metadata.

Text Content Type: Boolean, Default: False

If enabled, a plain text version of the document will be included.

Processing Options
Error Disposition Type: IssueDisposition, Default: Flag, Log

Determines what happens when an error occurs processing an activity.

Maximum Consecutive Errors Type: Int32, Default: 0

The maximum number of consecutive errors, after which a critical stop will be raised. A critical stop will cause services to stop running.

Concurrency Mode Type: ConcurrencyMode, Default: Multiple

Specifies the parallel processing mode for this activity. Can be one of the following values:

  • Multiple - Multiple instances can run concurrently.
  • PerMachine - Only a single instance can run per machine.
  • Single - Only a single instance can run per Grooper repository.
This value determines the type of Thread Pool on which the activity can be executed.

See Also

Custom, Native Format, PDF Format, Text, TIF Format, XML

Used By

Batch Folder - Apply Activity, Batch Process Step