PreviousNext
Help > Programming with LAUNCHER Office > LNCCMD commands > Commands list > MAILBODYF command
MAILBODYF command

SMTP compatible

 

Sends a HTML or Text file as message body.

 

Command MAILPREP command must be called prior to create message.

 

Syntax

 

CHGVAR

VAR(&CMD) VALUE('MAILBODYF')

CHGVAR

VAR(&PARM1) VALUE(' \\MACHINE_A\SAMPLES\test.html')

CHGVAR

VAR(&PARM2) VALUE('HTML|TXT')

CALL

PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 +

&PARM2 &RESULT)

 

Parameters

 

Parameters

 

Parm1

Full path of the HTML file to insert.

 

Parm2

Name of file format : HTML or TXT.

 

Example

 

LNCCMD     CMD(MAILBODYF) +                                

              PARM1('\\ADX01\SUPPORT\XYLEM\TEST\TEST2.HTM+  

              L') PARM2('HTML')                             

 

See also

 

LNCSNDMAIL - CL Command

MAILPREP

MAILATT

MAILSUBJ

MAILSEND

MAILEND

MAILSMTP