At 06:19 PM 2/12/2008, Carpet Broker wrote:
I have it working now, but am unable to find a way to create
multiple lines in the body command..
Dick,
Here's how:
-- Start
-- Pre-Define Required Variables for MapiMail4.RBL Plugin
CLEAR ALL VAR
SET VAR vmailto TEXT = NULL
SET VAR vemailaddress = '[EMAIL PROTECTED]'
SET VAR vquote TEXT = (CVAL('QUOTES'))
SET VAR vresult TEXT = 'vResult'
SET VAR vpipe TEXT = '|'
SET VAR vto TEXT = ('To:'+.vemailaddress)
SET VAR vsubject TEXT = ('Subject: Test Message')
SET VAR vbody TEXT = +
('Body:This message is a test line1'+(CHAR(013))+ +
'This message is a test line2'+(CHAR(013))+ +
'This message is a test line3'+(CHAR(013))+ +
'This message is a test line4'+(CHAR(013))+ +
'This message is a test line5'+(CHAR(013)))
-- Build one string with all parameters
SET VAR vparameters TEXT = +
(.vquote+.vresult&.vpipe+.vto&.vpipe+.vsubject&.vpipe+.vbody)
CLS
-- Initialize MapiMail4.RBL
PLUGIN mapimail4.rbl &vparameters
-- Clear variables
CLEAR ALL VARIABLES
RETURN
-- End
Have fun!
Very Best R:egards,
Razzak.