[thelist] Converting a loop into Sendmail

Scott Schrantz scotts at rci-nv.com
Thu Aug 2 16:19:25 CDT 2001


> -----Original Message-----
> From: FayeC [mailto:fayec at canada.com]
>
> I have the following code on a checkout page and I need to convert it
> and be able to add that info to a sendmail.
> The sendmail I am using doesn't show the product and gives me an error
> when I add the variable "quantity" to it...

What sendmail code are you using? Did you write it yourself, or did you find
it somewhere? Is it written in VBScript too? Are you using CDONTS to send
the mail? With CDONTS, you just concatenate all the text you want into one
variable, like strMessage, and have a line to set the message body:
objMail.Body = strMessage
You could even insert the HTML code you gave us into the string variable,
and that table would be sent as HTML mail. There shouldn't be any errors in
sending it, the errors would come in the concatenation. Could you show us
your sendmail code?




More information about the thelist mailing list