Please enable JavaScript to view this site.

This exit program must be called by an Email Output Device and should be used in conjunction with the Standard Exit program COBMULTEML which enables you to write multiple email addresses for a document to a temporary file. You pass the Email key (that you supplied in PARM1 to COBMULTEML) in the Destination address (Input  string). The program then reads through the temporary file writing the email details of the first record it finds as the main address on the Cobwebb Queue and the rest (up to 20 in  all) as Additional Email Addresses. These Additional Email Addresses can be TO, CC or BCC. If you have supplied more than 20 email addresses then a message is written to the joblog explaining that the limit of 20 has been exceeded.

Leave the Recipient email and Recipient name blank as these will be filled with the first email address it finds in the temporary file.

Parameter

Attribute

Description

Input

A (256)

Input string - Destination Address element

RecEmail

A (256)

Recipient's email address

SndEmail

A (256)

Sender's email address

SndName

A (50)

Sender's name

RecName

A (50)

Recipient's name

Subject

A (256)

Email subject

Message

A (256)

Email message text

AttName

A (64)

Attachment Name

AttExt

A (3)

Attachment Extension

AttType

A (3)

Attachment Type