The Email command

The Email command generates an email message. This email message can optionally include an attached file. From this window, the following parameters can be defined:

Field

Description

Label

Specifies the unique label of this process command. This label allows other commands to branch to this command. The label that you type here appears in the Label column on the EC Gateway Process Window.

Disable command

Disabling the command will allow temporary modification of the process statements. This allows for testing of the statements for error-free robustness. The command that has been disabled will not show in the script file (.pfs file).

Message to Send

The content to be transmitted via e-mail. Click on the arrow icon beside the field. A menu with two options displays: File and Message.

If you select File, the contents of the file are copied into the body of the email and not sent as an attachment. (If you want to send an attachment, see the Other Options text box below.)

Click on Message and select between Parameter, or Constant which displays the Email window. If you select the Constant option enter the text of the message to be sent by the email command.

NoteIf you specify a text string using the Email window, enter the –uuencode option in the Other Options text box.

Subject:

The subject of the message is entered in this field.

To: Address:

Electronic mail (e-mail) accounts reside on your computer. Each account, or “address,” has its own naming protocol that includes the account holder’s user ID, followed by the “@” sign, and the particular Domain Name of the person’s e-mail account.

NoteThis is a required entry.

CC: Address:

This field is used for the address to send the message to someone who has interest in the subject of the message but may not be directly involved in the subject.

From Address:

This field is used for your e-mail address.

SMTP Server:

Domain name of the Simple Mail Transport Protocol server.

NoteThis is a required entry.

Other Options:

Other parameters that can be used with the executable mail program. The available parameters are:

  • -o organization

  • -q suppresses all output

  • -noh suppresses display of the Blat utility homepage by X-Mailer

  • -noh2 suppresses display of the X-Mailer header

  • -p <profile file> sends email message with Simple Mail Transport Protocol (SMTP) server, user, and port defined in the file <profile file>

  • -server <add> specifies the address of the SMTP server to be used. Note: A port number may be added separated from the address by a colon. <addr:port>

  • -port <port identifier value> specifies the port to be used on the server. Default value is 25 for SMTP.

  • -hostname <host name string> specifies the host name used to send this message

  • -mime uses MIME Quoted Printable Content Transfer Encoding

  • -uuencode sends message in UUEncoded file (MIME)

  • -base64 send message in base64 encoded attachment (MIME)

  • -try <number of times> attempts to send the message specified number of times. A value of INFINITE may be used as well.

To send an attachment with an email message use one of the following options:

  • -attach <file name> attach the binary file to this message

  • -attach <file name> attach the text file to this message