>> 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

