Please enable JavaScript to view this site.

Navigation: Technical Information > Cobwebb Exit Programs > Cobwebb Exit Program Parameters > Cobwebb Email Exit Program

Adding Additional Email Destinations in your Email Exit Program

Scroll Prev Top Next More

The main parameters in your Email Exit Program cater for addressing your output to a single destination. It is possible to include up to 19 additional destinations by writing to a Temporary Address file in QTEMP called @OUTDEA.

We provide a sample source program called GETMULTEML which you will find in source file QUSRTOOLLE in library CPPD - from version 6.2.22.

The file @OUTDEA is not externally defined but is structured as follows:

Field Name

From Pos

To Pos

Length

Description

@OEType

1

3

3

This holds the type of recipient and can be one of the following:

TO

CC

BCC

@OEAddr

4

259

256

The email address for the recipient

@OEName

260

309

50

The name for the recipient

 

Example code definition

*                                          

F@OUTDEA   UF A F  309        DISK    USROPN

*                                              

* @OUTDEA output email address.                

D @DEA            DS                            

D  @OEType                1      3              

D  @OEAddr                4    259              

D  @OEName              260    309              

*                                              

I@OUTDEA   NS  01                                

I                                  1  309  @DEA  

 

Note: If you write more than 19 entries to this file they will be ignored.