Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   Sending Page via Email (http://www.velocityreviews.com/forums/t796413-sending-page-via-email.html)

James 09-21-2004 01:16 PM

Sending Page via Email
 
Is there any simple way of doing this? I want to redirect my end users to a
"results" page that lists the details of their order, but I also want to
e-mail them the exact same think (not a link). All of my end users have
HTML e-mail enabled, and I know that I could just create an e-mail manually.
But, I was curious whether I could do this in a much easier fashion.

Any ideas?

Thanks,
James



Patrice 09-21-2004 01:28 PM

Re: Sending Page via Email
 
What do you mean by "manually" ?

Basically you need to get the HTML generated by ASP page :
- either using XMLHTTP and connecting to the same page
- or by writing the HTML to a "buffer" so that the output is memorized (you
could introduce some differences between both version, for examples
sometimes images may be blocked).

Then the ASP page sends the final HTML to the browser and the same (or
similar) HTML content to the user in a mail message...

Patrice

--

"James" <cppjames@aol.com> a écrit dans le message de
news:e8uH$09nEHA.2904@TK2MSFTNGP15.phx.gbl...
> Is there any simple way of doing this? I want to redirect my end users to

a
> "results" page that lists the details of their order, but I also want to
> e-mail them the exact same think (not a link). All of my end users have
> HTML e-mail enabled, and I know that I could just create an e-mail

manually.
> But, I was curious whether I could do this in a much easier fashion.
>
> Any ideas?
>
> Thanks,
> James
>
>




Jeff Cochran 09-21-2004 07:14 PM

Re: Sending Page via Email
 
On Tue, 21 Sep 2004 09:16:44 -0400, "James" <cppjames@aol.com> wrote:

>Is there any simple way of doing this? I want to redirect my end users to a
>"results" page that lists the details of their order, but I also want to
>e-mail them the exact same think (not a link). All of my end users have
>HTML e-mail enabled, and I know that I could just create an e-mail manually.
>But, I was curious whether I could do this in a much easier fashion.
>
>Any ideas?


Use CDO and create the body with the same code that creates your order
confirmation page. Send the CDO then redirect to the page.

Jeff


All times are GMT. The time now is 08:20 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.