opticalman
Programmer
I am using vfp8.0
I am trying to send an order via email
i am using code I found MSDN VFP forum
I can send the email.
here is the code
the problem is formating the BODY text. For now, I want to put a carraige return at the end of each line. I can not get CHR(13) to work. example "line1"+ chr(13)+"line2" yields "line1line2"
thanks for any help
Jim Rumbaugh
I am trying to send an order via email
i am using code I found MSDN VFP forum
I can send the email.
here is the code
Code:
loConfig = CREATEOBJECT( 'CDO.Configuration' )
loMsg = CREATEOBJECT( 'CDO.Message' )
WITH loMsg
.Configuration = loConfig
.TO = "someone@hotmail.com"
.Subject = "order from myplace"
.HTMLBody = "line1"
.HTMLBody = .HTMLBody + "line2"
.SEND()
ENDWITH
loConfig = .NULL.
loMsg = .NULL.
the problem is formating the BODY text. For now, I want to put a carraige return at the end of each line. I can not get CHR(13) to work. example "line1"+ chr(13)+"line2" yields "line1line2"
thanks for any help
Jim Rumbaugh