31.01.2013 Views

InterForm Manual - System & Method

InterForm Manual - System & Method

InterForm Manual - System & Method

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...<br />

To e-mail adr . : TOADR kse@interform400.com<br />

Name . . . . . . : TONAME Kim Egekjaer<br />

Subject . . . . : SUBJECT This is the e-mail subject<br />

E-mail text . . : MSG Up to 10 lines of e-mail text. This is line 1<br />

Second MSG line<br />

PDF-file name . : ATTACH demo.pdf<br />

From e-mail adr. : FROMADR kse@interform400.com<br />

Name . . . . . . : FROMNAME Name of e-mail sender<br />

The spooled file should trigger a function P=Send spooled file as PDF<br />

email in Auto Forms Control and the merged spooled file will then be sent<br />

as an attached PDF file.<br />

Refer to page 156 for more information.<br />

3) Splitting the spooled file into parts for e.g. each customer, inserting e.g.<br />

information from the spooled file into the subject or contents of the E-mail<br />

or even into the name of the attached PDF file. This is done by use of an Email<br />

finishing definition. Refer to page 204 for more information.<br />

4) Send e-mails via the APF3812/SNDMAIL command.<br />

5) Send e-mails to multiple receivers with the APF3812/SNDEMAIL command.<br />

Before the e-mails can actually be sent out you need to setup either <strong>InterForm</strong>400 SMTP<br />

or OS400 SMTP/MSF. You should really consider to use <strong>InterForm</strong>400 SMTP because of<br />

this:<br />

a) The details of the <strong>InterForm</strong>400 SMTP log information is much more<br />

detailed than for OS400 SMTP/MSF. The APF3812/WRKMAILLOG<br />

command will just list *IBMSMTP if you use OS400 SMTP, but<br />

<strong>InterForm</strong>400 SMTP will be able to ‘talk’ directly with the receiving<br />

mailservers thus telling you the exact status.<br />

b) <strong>InterForm</strong>400 SMTP is easier to setup.<br />

c) E-mails sent via <strong>InterForm</strong>400 SMTP are sent out faster.<br />

Setup of <strong>InterForm</strong>400 SMTP<br />

The setup of <strong>InterForm</strong>400 SMTP is described on page 292.<br />

Remember to add a start of the subsystem APF3812/MAILINTER in the IPL start up<br />

program if you chose to use the <strong>InterForm</strong>400 SMTP.<br />

Setup of OS400 SMTP<br />

The created E-mails can be sent out from the <strong>System</strong> i either directly from<br />

the <strong>System</strong> i or through a mail server. These are the commands, that you<br />

should use:<br />

1) CFGTCP - Option 10. Work with TCP/IP host table entries<br />

- Insert IP-address and Hostname of the mail server - if used.<br />

2) CHGTCPDMN<br />

- Insert the IP-adresses of Domain Name Servers at INTNETADR<br />

3) Add possible unknown routes to the mail server<br />

CFGTCP - Option 2. Work with TCP/IP routes<br />

<strong>InterForm</strong> A/S 503

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

Saved successfully!

Ooh no, something went wrong!