31.01.2013 Views

InterForm Manual - System & Method

InterForm Manual - System & Method

InterForm Manual - System & Method

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MAILEXIT05 Called with parameter format=05. This includes the parameters of<br />

MAILEXIT04 plus the parameter:<br />

RTNBCCADR The return BCC e-mail address to send to.<br />

MAILEXIT06 Called with parameter format=06. This is a unicode version of MAILEXIT05 -<br />

making it possible to specify parameters for faxing/e-mailing in unicode.<br />

Please note that this format can only be used when the prepare for finishing<br />

job specifies Unicode output = *YES.<br />

MAILEXIT07 Called with parameter format=07. This includes the parameters of<br />

MAILEXIT05 except that you can now define up to 9 receivers of the e-mail:<br />

RTNTOADR1 - RTNTOADR9<br />

The e-mail addresses of the up to 9 e-mail receivers.<br />

RTNTONAM1 - RTNTONAM9<br />

The names of the receivers.<br />

If you want to send to an email group (as defined as described on page 366), then the mail exit<br />

program should return the name of the email group as the ‘Recipient name’, and the E-mail<br />

address should be *GROUP. This can e.g. be done with these commands in the program:<br />

CHGVAR VAR(&RTNTOADR) VALUE('*GROUP')<br />

CHGVAR VAR(&RTNTONAM) VALUE('SALES_GRP')<br />

(The group name must be written in capital letters).<br />

� WARNING �<br />

®<br />

All exit programs called by <strong>InterForm</strong>400 must be owned by QSECOFR. If it is not the AFC<br />

job will halt with an error message. Change the owner with the command:<br />

CHGOBJOWN OBJ(library/program) OBJTYPE(*PGM) NEWOWN(QSECOFR). Refer to page<br />

150 for requirements in order to be able to change the owner.<br />

In this example we intend to use the 4 digit customer number as the only key. If the spooled<br />

file includes the E-mail address in every page the keys are not necessary - just select '3. Find<br />

in spooled file' in option '1. How to find E-mail address / Fax number ' and specify the position<br />

in option '6. Definition recipient-ID '.<br />

3. Definition variables<br />

Change variables MAI315D<br />

Definition name . . . . . : DEMO<br />

Description . . . . . . . : Distribution of the Demo spool file<br />

Variable Length Description<br />

*V1 _25 Company name_______<br />

*V2 _25 Contact person_____<br />

*V3 __4 Customer number____<br />

*V4 _50 Subject____________<br />

*V5 ___ ___________________<br />

*V6 ___ ___________________<br />

*V7 ___ ___________________<br />

*V8 ___ ___________________<br />

*V9 ___ ___________________<br />

F3=Exit F12=Cancel<br />

Up to 9 variables can be defined. They are read from the contents of each spool file page.<br />

<strong>InterForm</strong> A/S 207

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!