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.

Appendix N - Sending E-mails from the <strong>System</strong> i<br />

� NOTE �<br />

502 User’s <strong>Manual</strong> for <strong>InterForm</strong>400 ®<br />

In order to get PDF output you need to purchase the PDF module for <strong>InterForm</strong>400.<br />

<strong>InterForm</strong>400 can be used for sending emails using either the OS/400 SMTP feature or<br />

via <strong>InterForm</strong>400 SMTP.<br />

� TIP �<br />

When you send out e-mails from <strong>InterForm</strong>400 the e-mails will be stored in the IFS in<br />

/APF3812Mail/OutBox. To prevent excessive disk usage it is a VERY good idea to run the<br />

APF3812/CLRMAILLOG command on a regular basis.<br />

To email spooled files as attached PDF-files do one of the following:<br />

1) Sending a complete, merged spooled file as an attached PDF file in an Email.<br />

For that purpose you would probably use the<br />

APF3812/MRGSPLFPDF command. Refer to page<br />

382 for more information.<br />

2) Send a complete spooled file having a program-generated front page.<br />

The Spooled file must have PAGERANGE(2 n), where n=Any number or<br />

*END.<br />

The e-mail front page must include lines with each of these keywords in any<br />

sequence:<br />

Pos 20-30 = Keyword: FROMADR,<br />

FROMNAME<br />

TOADR<br />

TONAME<br />

SUBJECT<br />

ATTACH<br />

MSG (up to 10 lines can be used).<br />

Positions from 31 to 286 are used for the value of each keyword - except<br />

MSG. For MSG the text must be placed from position 31 to 106.<br />

This is an example of a front page:

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

Saved successfully!

Ooh no, something went wrong!