473,395 Members | 2,006 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.

Needing to e-mail the page

>From within an asp.net app, I need to e-mail the document in the
browser (not the link, but the page). Can this be done easily, and if
so, can you refer me to the "how to".

Also, what is the preference in sending e-mail from within .net?
There are several smtp means of doing this, but in the past, none of
them have been native .Net. I'm working with 2.0, so I'm hoping
there's an easy 2.0 solution. thanx.

Jun 18 '07 #1
2 953
"HockeyFan" <le**********@gmail.comwrote in message
news:11**********************@w5g2000hsg.googlegro ups.com...
>From within an asp.net app, I need to e-mail the document in the
browser (not the link, but the page). Can this be done easily, and if
so, can you refer me to the "how to".
Rather than trying to email the entire page (which you could do by grabbing
the rendered HTML), I would actually construct a "proper" email message
based on the contents of the page...
Also, what is the preference in sending e-mail from within .net?
There are several smtp means of doing this, but in the past, none of
them have been native .Net. I'm working with 2.0, so I'm hoping
there's an easy 2.0 solution.
Simplicity itself:
http://www.systemnetmail.com/faq/1.3.aspx
http://www.systemnetmail.com/faq/3.aspx

Also, be slightly wary of sending emails in HTML format, as many people
block these...
--
http://www.markrae.net

Jun 18 '07 #2
Here's some code that shows how to email the output of a page:
http://authors.aspalliance.com/steve...ailwebsite.asp

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net

"HockeyFan" <le**********@gmail.comwrote in message
news:11**********************@w5g2000hsg.googlegro ups.com...
From within an asp.net app, I need to e-mail the document in the
browser (not the link, but the page). Can this be done easily, and if
so, can you refer me to the "how to".

Also, what is the preference in sending e-mail from within .net?
There are several smtp means of doing this, but in the past, none of
them have been native .Net. I'm working with 2.0, so I'm hoping
there's an easy 2.0 solution. thanx.
Jun 18 '07 #3

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

Similar topics

2
by: John Smith | last post by:
A friend's small business has gotten themselves in trouble. Their only programmer has recently skipped the country and did not leave the source code or any design notes for a couple of program...
2
by: JDevine | last post by:
Hey. I posted a info about a program I have written that uses google to get and download files by type and site. I need HELP!!! This program is finished except for 2 features which, having tried...
46
by: Kingdom | last post by:
In my data base I have a list of componet types e.g. type A - I have 8 off - type B I have 12 off etc. I'm using Set objRS = objDC.Execute("Select DISTINCT Component_Type FROM Parts_Table") ...
0
by: Craig Lichtenstein | last post by:
As I’ve been reading about msbuild, I’ve noticed articles that mention msbuild’s incapability to natively read .vcproj files. In short, executing msbuild blah.vcproj causes msbuild to invoke...
3
by: dnl | last post by:
I have a parameter query that I would like to simplify so that I wouldn't need to use wildcards when entering in partial data. The following line is in the criteria field when designing the query:...
7
by: try2nd | last post by:
I have console application where i can read line by line from a .txt file and save it to a different file name in .txt format as well. Here's the basic code: using System.IO namespace Dim fs As...
0
by: DR | last post by:
I heard there is some trick to referencing statics in C# CLR stored procedure without having to mark the assembly as unsafe. Does anyone know this? This is usefull as the case of needing a little...
3
by: DR | last post by:
I heard there is some trick to referencing statics in VB.NET CLR stored procedure without having to mark the assembly as unsafe. Does anyone know this? This is usefull as the case of needing a...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.