473,395 Members | 1,526 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Get generated html data from aspx page and send out email

hi all,

i have hooked my website to paypal and other e merchant accounts for
accepting credit cards.
When a payment is done they post the data to my website. i process the data
and update the database and it all works fine. Now i want to send out a
notification confirmation email to my customer with the details of the order
that they have placed.

In regular asp 3.0 days i would open up a connection to the database and
usng the recordset would loop arund the order and it;s line items and write
that to a string variable with html formating tags in it and email it out, i
am pretty sure i could the same in ASp.net as well but my website already
have an asp.net web page which generated an invoice to view in the right
format and all that, so the question becomes is there any way in .net that i
could use this page to generate the invoice, get the generated html data from
it and send it out in an email , this way my poor soul would not have to go
through the pain of writing all the code again to generate the order format
it again.

Please suggest
Nov 19 '05 #1
1 1708
using webclient, hit the site from your mail program. the downside is
security, you will need a way in the url to specify the user, and this opens
the feature to the internet. you should spend some time plugging this whole
(check the requesting ipaddress, account, etc)

-- bruce (sqlwork.com)


"sameer" <sa****@discussions.microsoft.com> wrote in message
news:80**********************************@microsof t.com...
hi all,

i have hooked my website to paypal and other e merchant accounts for
accepting credit cards.
When a payment is done they post the data to my website. i process the
data
and update the database and it all works fine. Now i want to send out a
notification confirmation email to my customer with the details of the
order
that they have placed.

In regular asp 3.0 days i would open up a connection to the database and
usng the recordset would loop arund the order and it;s line items and
write
that to a string variable with html formating tags in it and email it out,
i
am pretty sure i could the same in ASp.net as well but my website already
have an asp.net web page which generated an invoice to view in the right
format and all that, so the question becomes is there any way in .net that
i
could use this page to generate the invoice, get the generated html data
from
it and send it out in an email , this way my poor soul would not have to
go
through the pain of writing all the code again to generate the order
format
it again.

Please suggest

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: NWx | last post by:
Hi, I want to send html mail from my asp net application. But I'd like to let aspnet generate the HTML mailbody for me instead of creating it myself. So, is there any way to "capture" the...
4
by: clintonG | last post by:
Technically speaking, this issue is not about modifying the HTML generated by server controls but preceding the HTML generated by server controls with an HTML control generated on the basis of the...
4
by: Ken D. | last post by:
I have an asp page that collects data on referrals. The user inputs the information and selects the rep to receive the referral. My data is being saved to a backend database (SQL) and the user is...
3
by: JJ297 | last post by:
Hello, After a user enters their request I'm sending a generated email to someone. How do I get that question to appear in the email? I have the link appearing in the email. This is what I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.