Bruce 

  Since there are spaces in line the line needs to enclosed in quotes

 

  Try

   

   SET VAR vq = (CVAL(‘QUOTES’))

 

SET VAR vSYNTAX_Salutation = (.vq + 'vResult|ADD_TO_MESSAGE_BODY Dear ' + 
.vRecpntFirstNAME + ':' + .vq)

SET VAR vSYNTAX_Invitation = (.vq+'vResult|ADD_TO_MESSAGE_BODY ' + .vInvitee & 
'are darn lucky ...'+.vq)

 

Buddy

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of 
Bruce Chitiea
Sent: Wednesday, April 20, 2016 8:43 PM
To: [email protected]
Subject: [RBASE-L] - RMailX Message Body Question

 

All:

 

I have the RMailX Plugin working within a loop sending everything perfectly 
down through the Subject Line.

 

In the code below, the SubjectLine and MessageFile work perfectly. The contents 
of the block between does not appear in the message: the contents of the 
MessageFile appear on the first line.

 

  PLUGIN RMail .vSYNTAX_SubjectLine

 

  PLUGIN RMail 'vResult|ADD_TO_MESSAGE_BODY '

  PLUGIN RMail .vSYNTAX_Salutation
  PLUGIN RMail 'vResult|ADD_TO_MESSAGE_BODY '
  PLUGIN RMail .vSYNTAX_Invitation
  PLUGIN RMail 'vResult|ADD_TO_MESSAGE_BODY '


  PLUGIN RMail .vSYNTAX_MessageFile
  PLUGIN RMail vResult|SEND

 

Construction:

 

  SET VAR vSYNTAX_Salutation = ('vResult|ADD_TO_MESSAGE_BODY Dear ' + 
.vRecpntFirstNAME + ':')

  SET VAR vSYNTAX_Invitation = ('vResult|ADD_TO_MESSAGE_BODY ' + .vInvitee & 
'are darn lucky ...')

 

... which resolve as seen in TRACE:

 

  vSYNTAX_Salutation = vResult|ADD_TO_MESSAGE_BODY Dear Bob:

  vSYNTAX_Invitation = vResult|ADD_TO_MESSAGE_BODY You and Tamara are darn 
lucky ...

 

... producing vResult codes of 'OK' when run

 

The sent-message header source code shows no trace of these lines.

 

Why would these items not appear?

 

Thanks very much

 

Bruce Chitiea

SafeSectors, Inc.

909.238.9012 Mobile

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected] 
<mailto:[email protected]> .
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to