|
 |
access_asp thread: html formatted email with asp variable?
Message #1 by "Tim Lyons" <lyno@h...> on Wed, 10 Jul 2002 17:57:17
|
|
hi i'm trying to send an html formatted email in asp using CDONTS with a
couple of asp variables i got from a user form. the code looks something
like this:
DIM special, path
path = request.form("thePath")
special = request.form("instructions")
.
.
.
emailMessage = "<html> ..." &_
*here i try to include the variable special
"<tr><td>" response.write special "</td></tr>"&_...
before i tried putting the variables in, it worked fine. i just don't know
how to include the variables. thx for the help
TIM
Message #2 by Karri Peterson <KPeterson@C...> on Wed, 10 Jul 2002 11:49:46 -0500
|
|
Tim,
It looks to me like you need to do something like this:
"<tr><td><%=special%></td></tr>"
Karri
-----Original Message-----
From: Tim Lyons [mailto:lyno@h...]
Sent: Wednesday, July 10, 2002 12:57 PM
To: Access ASP
Subject: [access_asp] html formatted email with asp variable?
hi i'm trying to send an html formatted email in asp using CDONTS with a
couple of asp variables i got from a user form. the code looks something
like this:
DIM special, path
path = request.form("thePath")
special = request.form("instructions")
.
.
.
emailMessage = "<html> ..." &_
*here i try to include the variable special
"<tr><td>" response.write special "</td></tr>"&_...
before i tried putting the variables in, it worked fine. i just don't know
how to include the variables. thx for the help
TIM
Message #3 by Karri Peterson <KPeterson@C...> on Wed, 10 Jul 2002 11:53:05 -0500
|
|
Wait a minute, forget that--it's not the right syntax. --
don't you need to add & signs to tie the string together or else to have it
be one long string. You have it broken up in your
code--that's what I was trying to get at, but using <% %> doesn't make
sense here, but I believe the & idea could be valid.
Sorry for the confusion.
-----Original Message-----
From: Karri Peterson [mailto:KPeterson@C...]
Sent: Wednesday, July 10, 2002 11:50 AM
To: Access ASP
Subject: [access_asp] RE: html formatted email with asp variable?
Tim,
It looks to me like you need to do something like this:
"<tr><td><%=special%></td></tr>"
Karri
-----Original Message-----
From: Tim Lyons [mailto:lyno@h...]
Sent: Wednesday, July 10, 2002 12:57 PM
To: Access ASP
Subject: [access_asp] html formatted email with asp variable?
hi i'm trying to send an html formatted email in asp using CDONTS with a
couple of asp variables i got from a user form. the code looks something
like this:
DIM special, path
path = request.form("thePath")
special = request.form("instructions")
.
.
.
emailMessage = "<html> ..." &_
*here i try to include the variable special
"<tr><td>" response.write special "</td></tr>"&_...
before i tried putting the variables in, it worked fine. i just don't know
how to include the variables. thx for the help
TIM
|
|
 |