|
 |
asp_components thread: CDONTS
Message #1 by "Larry Rosenzweig" <rosenzl@o...> on Wed, 19 Feb 2003 14:29:53
|
|
I am using cdonts to send mail. I use outlook 2000. I am encountering the
following problem:
When I use code to display 3 titles and 3 text box values, the third value
is put on the next line. I am sending using "plain text". Here is the code.
Mybody = t1name & t1 & " " & hemail & emailfrom & " " & t2name & t2 & " "
& t3name & t3 & vbcrlf
mybody = mybody & stname & st
T3 does not print on the same line. It appears that plain text won't go
beyond 74-76 characters, even if I change the auto-wrap from 76 to any
higher number. However, If I add the code ObjMail.BodyFormat = 0 and
ObjMail.MailFormat = 0 (html format), it ignores my vbcrlf statements and
displays everything on one line, including stname and st.
I would like to use more than 76 characters on a line. Any ideas on how to
do that and still have control over line feeds?
Thanks,
Larry
Message #2 by "Emmanuel Mendoza" <mendoza@r...> on Wed, 19 Feb 2003 07:58:38 -0800
|
|
try using a table to format it.
-----Original Message-----
From: Larry Rosenzweig [mailto:rosenzl@o...]
Sent: Wednesday, February 19, 2003 6:30 AM
To: ASP components
Subject: [asp_components] CDONTS
I am using cdonts to send mail. I use outlook 2000. I am encountering
the
following problem:
When I use code to display 3 titles and 3 text box values, the third
value
is put on the next line. I am sending using "plain text". Here is the
code.
Mybody =3D t1name & t1 & " " & hemail & emailfrom & " " & t2name & t2 &
" "
& t3name & t3 & vbcrlf
mybody =3D mybody & stname & st
T3 does not print on the same line. It appears that plain text won't go
beyond 74-76 characters, even if I change the auto-wrap from 76 to any
higher number. However, If I add the code ObjMail.BodyFormat =3D 0 and
ObjMail.MailFormat =3D 0 (html format), it ignores my vbcrlf statements
and
displays everything on one line, including stname and st.
I would like to use more than 76 characters on a line. Any ideas on how
to
do that and still have control over line feeds?
Thanks,
Larry
mendoza@r...
%%email.unsub%%
|
|
 |