[thelist] ASP - send generated results via email

Joshua OIson joshua at alphashop.net
Sat Dec 23 10:24:22 CST 2000


Does ASP have anything like CFHTTP in ColdFusion?  If so, you could just
re-request the page via CFHTTP (or ASP equiv.)--this way you can send ANY
page--and store the results to a variable.  Then add the variable to the
body of an email, and send it the email off.

-joshua

----- Original Message -----
From: "Scott Dexter" <sgd at ti3.com>
To: <thelist at lists.evolt.org>
Sent: Friday, December 22, 2000 2:18 PM
Subject: RE: [thelist] ASP - send generated results via email


> You are retrieving values out of the database, right? --Do you have that
> code written?
>
> instead of just placing the recordset values on the html page, include all
> the html and results into one variable. Make sense? --So before (for
> example):
>
> <table>
> <tr><td><%=oRS("name")%></td>
> <td><%=oRs("rank")%></td>
> <td><%=oRS("serialnumber")%></td>
> </tr>
> </table>
>
> After:
> <%
> htmlresults = "<table><tr><td>" & oRS("name") & "</td>" _
> & "<td>" & oRS("rank") & "</td>" _
> & "<td>" & oRS("serialnumber") & "</td>" _
> & "</tr></table>"
> %>
>
> then you can output the results to the page (<%=htmlresults%>) and also
use
> that same variable as the body of your email. Note I am not covering html
> formatted emails vs plain text, but the above will at least get you in the
> right direction (I hope)
>
> Is that clearer?
> sgd
> --
> work: http://www.ti3.com/
> non: http://thinksafely.org/
>
> > -----Original Message-----
> > From: Gillespie, Bryan [mailto:Bryan.Gillespie at medic.com]
> > Sounds good, but how do I 'spool up my output into an ASP
> > variable'?  Did I
> > mention I'm new to ASP?
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list