Long Line Conversion
In order to make ASCII client mail more readable in OfficeVision environments, the
AS/400 Mail Server Framework is able to modify messages as they are converted
from ASCII/MIME to EBCDIC/FFT, in Version 4 Release 2. The two modifications
allow you to do the following:
1. Split long lines into two or more shorter lines.
2. Add FFT commands to messages, overriding parameters in the OfficeVision text
profile active for the recipient of the new mail. With these FFT commands, wide
messages can be viewed without changing OfficeVision text profiles.
The steps that are outlined below will enable either of the two modifications to
occur:
1. Create a character data area that is named QUSRSYS/QMAILFMT. For
example:
CRTDTAARA DTAARA(QUSRSYS/QMAILFMT) TYPE(*CHAR) LEN(100) VALUE('73/55/0')
In this example, length of 100 on the CRTDTAARA (Create Data Area) is
arbitrary, but it should be sufficient for any combination of values to be put in the
data area. All other parameters, except for the value, should be typed exactly as
shown.
2. Change the object owner to QSYS. For example:
CHGOBJOWN OBJ(QUSRSYS/QMAILFMT) OBJTYPE(*DTAARA) NEWOWN(QSYS)
3. Grant the proper authority to the data area. For example:
GRTOBJAUT OBJ(QUSRSYS/QMAILFMT) OBJTYPE(*DTAARA) USER(PUBLIC) AUT(*ALL)
4. Stop and restart the Mail Server Framework by using the ENDMSF and
STRMSF commands.
If you choose to make changes to the original modifications that you created, for
subsequent uses, follow these steps:
1. change the value in the QUSRSYS/QMAILFMT data area. For example:
CHGDTAARA DTAARA(QUSRSYS/QMAILFMT) VALUE('80/55/1')
2. stop and restart the Mail Server Framework by using the ENDMSF and
STRMSF commands.
Data Area Values
The value in the QMAILFMT data area can contain up to eight numbers that are
defined as follows:
LL/PL/FFF/LM/RM/GFID/FWD/FA
Note: A forward slash, /, separates each field. A double forward slash, //, is an
empty field, and defaults will be used. A space in any position ends the
parameter string. Any numbers or characters after a space will be ignored.
LL Line Length, from 1 to 255, default is 255.
The maximum number of characters in a line. A long line
will be split at a space character preceding this count or
at this count for lines without a space. Tab characters
count 1 character.
PL Page Length, from 1 to 32752, default is 32752.
The maximum number of lines on each page. If more than
this number of lines are received without a form feed, one
will be inserted at this point.
Chapter 9. Post Office Protocol (POP) Mail Server 299