It works fine for me either way. Just in case it will help, here's the contents of my test file:
SET VAR vresult TEXT
SET VAR vreturn TEXT = ((CHAR(13))+(CHAR(10)))
SET VAR vemailaddress = '"Dawn Hast" <[EMAIL PROTECTED]>'
SET VAR vquote TEXT = (CVAL('QUOTES'))
SET VAR vpipe TEXT = '|'
SET VAR vto TEXT = ('To:'+.vemailaddress)
SET VAR vreturn TEXT = ((CHAR(13))+(CHAR(10)))
SET VAR vemailaddress = '"Dawn Hast" <[EMAIL PROTECTED]>'
SET VAR vquote TEXT = (CVAL('QUOTES'))
SET VAR vpipe TEXT = '|'
SET VAR vto TEXT = ('To:'+.vemailaddress)
SET VAR vsubject = 'Subject: Test'
SET VAR vfname = 'Dawn'
SET VAR vlname = 'Hast'
SET VAR vtotpt = '$100.00'
SET VAR vdatelch DATE = 08/12/08
SET VAR vdatelpay DATE = 08/11/08
SET VAR vamtperpd = '$20.00'
SET VAR vlname = 'Hast'
SET VAR vtotpt = '$100.00'
SET VAR vdatelch DATE = 08/12/08
SET VAR vdatelpay DATE = 08/11/08
SET VAR vamtperpd = '$20.00'
SET VAR vbody TEXT = +
(.vfname & .vlname +.vreturn + +
'Your estimate balance is..'& (CTXT(.vtotpt)) +.vreturn + .vreturn+ +
'Your last visit was on ...'& (CTXT(.vdatelch)) + .vreturn + .vreturn + +
'Last personal payment on ...'& (CTXT(.vdatelpay)) + .vreturn + +
'Amount of payment ....'& (CTXT(.vamtperpd)) +(CHAR(013)) )
SET VAR vbody = ('Body:' + .vbody)
(.vfname & .vlname +.vreturn + +
'Your estimate balance is..'& (CTXT(.vtotpt)) +.vreturn + .vreturn+ +
'Your last visit was on ...'& (CTXT(.vdatelch)) + .vreturn + .vreturn + +
'Last personal payment on ...'& (CTXT(.vdatelpay)) + .vreturn + +
'Amount of payment ....'& (CTXT(.vamtperpd)) +(CHAR(013)) )
SET VAR vbody = ('Body:' + .vbody)
SET VAR vparameters TEXT = (.vquote+'vResult' + .vpipe + .vto + .vpipe + +
.vsubject + .vpipe + .vbody + .vquote)
.vsubject + .vpipe + .vbody + .vquote)
PLUGINS mapimail2.rbl &vparameters
RETURN
RETURN
-------------- Original message from "Marc" <[EMAIL PROTECTED]>: --------------
DawnI already tried that, same problem. I am using Outlook ExpI will check for some setting.ThanksMarc----- Original Message -----From: Dawn HastSent: Tuesday, August 12, 2008 2:16 PMSubject: [RBASE-L] - Re: Email boddyIt works fine on my end. With mapimail4, I suppose it could be your email client. Try using mapimail2, which doesn't interface with your email client to see how it's formatted with that. If it's fine there, then there could be some setting in your email client that's preventing it from displaying properly.-------------- Original message from "Marc" <[EMAIL PROTECTED]>: --------------
Hi DawnI have .vReturn and (Char(013)) on different lines to test see which one would start a new line.The email looks like thisJOHN Public Your estimate balance is.. $11.00 Your last visit was on ... 11/09/2005 Last
personal payment on ... 02/21/2007 Amount of payment .... -$15.00Instead ofJOHN PublicYour estimate balance is.. $11.00Your last visit was on ... 11/09/2005Last personal payment on ... 02/21/2007Amount of payment .... -$15.00ThanksMarc----- Original Message -----From: Dawn HastSent: Tuesday, August 12, 2008 1:37 PMSubject: [RBASE-L] - Re: Email boddy>> I am having problems getting the body of the email to format the way I want. <<Marc,You don't say specifically what's not working. One thing I noticed is that after the fname and lname variables you have a (Char(013)) rather than a .vreturn. Other than that, it looks like it does what you are asking it to do.Dawn-------------- Original message from "Marc" <[EMAIL PROTECTED]>: --------------
JanI never tried the old code, it was between 2 people on the listMarc----- Original Message -----From: jan johansenSent: Tuesday, August 12, 2008 1:01 PMSubject: [RBASE-L] - Re: Email boddydoes the old one still work?
-----Original Message-----
From: "Marc" <[EMAIL PROTECTED]>
To: [email protected] (RBASE-L Mailing List)
Date: Tue, 12 Aug 2008 12:57:16 -0500
Subject: [RBASE-L] - Re: Email boddy
HI JanThis code similar to what I found in a old email usingMapiMail4, that is why I started with it instead of RMail.Marc----- Original Message -----From: jan johansenSent: Tuesday, August 12, 2008 12:36 PMSubject: [RBASE-L] - Re: Email boddyI did not have a whole lot of success formatting the email body until I went to R:Mail.Not saying it's not possible. Just I couldn't figure out the issue.
-----Original Message-----
From: "Marc" < [EMAIL PROTECTED]>
To: [email protected] (RBASE-L Mailing List)
Date: Tue, 12 Aug 2008 12:22:53 -0500
Subject: [RBASE-L] - Re: Email boddy
I am testing my While loop code using MapiMail4,Then I was going to switch to RMail.Marc----- Original Message -----From: jan johansenSent: Tuesday, August 12, 2008 12:05 PMSubject: [RBASE-L] - Re: Email boddyAre you using R:Mail?
-----Original Message-----
From: "Marc" < [EMAIL PROTECTED]>
To: [email protected] (RBASE-L Mailing List)
Date: Tue, 12 Aug 2008 11:32:00 -0500
Subject: [RBASE-L] - Email boddy
HiI am having problems getting the body of the email to formatthe way I want.This is my last trySET VAR vReturn TEXT = ((CHAR(13))+(CHAR(10)))SET VAR vbody TEXT = +
(.vfname & .vlname +(CHAR(013))+ +
'Your estimate balance is..'& (CTXT(.vtotpt)) +.vReturn + .vReturn+ +
'Your last visit was on ...'& (CTXT(.vdatelch)) + .vReturn + .vReturn + +
'Last personal payment on ...'& (CTXT(.vdatelpay)) + .vReturn + +
'Amount of payment ....'& (CTXT(.vamtperpd)) +(CHAR(013)) )I want to have 5 linesName ...Your estimate balance is ...and so on.What am I missing?ThanksMarc

