470,590 Members | 2,525 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,590 developers. It's quick & easy.

Rendering aspx page to email

I'm trying to send an aspx page by email. I am quite happy sending html
email from aspx pages but want to know is there is a straight forward way to
render a whole page to an email?

I have found resources that tell me how to render individual controls, but
the page I want to send is quite complicated, and I would rather just render
the whole thing.

Any advice would be greatfully received,

Adam
Nov 18 '05 #1
3 1902
Okay, Adam, we need to think a bit differently here. Remember than an ASPX
page, once it reaches the browser, is a pure text HTML document with a .aspx
extension, not an ASPX page (the real "page" is still on the server). The
same goes with an HTML email. There is no difference between an HTML email
and an HTML browser document. So, if you are sending HTML emails with ASPX
pages, you're already doing all that you can. It's simply a matter of
constructing the same HTML as the ASPX page renders to the browser, in the
email, if that is what you want.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Adam Pedder" <ad**@nothereatall.com> wrote in message
news:#8*************@TK2MSFTNGP10.phx.gbl...
I'm trying to send an aspx page by email. I am quite happy sending html
email from aspx pages but want to know is there is a straight forward way to render a whole page to an email?

I have found resources that tell me how to render individual controls, but
the page I want to send is quite complicated, and I would rather just render the whole thing.

Any advice would be greatfully received,

Adam

Nov 18 '05 #2
http://www.devhood.com/tutorials/tut...utorial_id=758

The above tutorial does something similar to what it sounds to me like
you're requesting. Maybe will work as a bit of a starting point for ya?

-John

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:Ow**************@tk2msftngp13.phx.gbl...
Okay, Adam, we need to think a bit differently here. Remember than an ASPX
page, once it reaches the browser, is a pure text HTML document with a ..aspx extension, not an ASPX page (the real "page" is still on the server). The
same goes with an HTML email. There is no difference between an HTML email
and an HTML browser document. So, if you are sending HTML emails with ASPX
pages, you're already doing all that you can. It's simply a matter of
constructing the same HTML as the ASPX page renders to the browser, in the
email, if that is what you want.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Adam Pedder" <ad**@nothereatall.com> wrote in message
news:#8*************@TK2MSFTNGP10.phx.gbl...
I'm trying to send an aspx page by email. I am quite happy sending html
email from aspx pages but want to know is there is a straight forward way
to
render a whole page to an email?

I have found resources that tell me how to render individual controls,

but the page I want to send is quite complicated, and I would rather just

render
the whole thing.

Any advice would be greatfully received,

Adam


Nov 18 '05 #3
Thanks for the replies. The tutorial should give me something to work on.

Adam
"John" <jc*****************@hotmail.com> wrote in message
news:6H****************@news-server.bigpond.net.au...
http://www.devhood.com/tutorials/tut...utorial_id=758

The above tutorial does something similar to what it sounds to me like
you're requesting. Maybe will work as a bit of a starting point for ya?

-John

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:Ow**************@tk2msftngp13.phx.gbl...
Okay, Adam, we need to think a bit differently here. Remember than an ASPX
page, once it reaches the browser, is a pure text HTML document with a

.aspx
extension, not an ASPX page (the real "page" is still on the server). The same goes with an HTML email. There is no difference between an HTML email and an HTML browser document. So, if you are sending HTML emails with ASPX pages, you're already doing all that you can. It's simply a matter of
constructing the same HTML as the ASPX page renders to the browser, in the email, if that is what you want.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Adam Pedder" <ad**@nothereatall.com> wrote in message
news:#8*************@TK2MSFTNGP10.phx.gbl...
I'm trying to send an aspx page by email. I am quite happy sending html email from aspx pages but want to know is there is a straight forward

way
to
render a whole page to an email?

I have found resources that tell me how to render individual controls,

but the page I want to send is quite complicated, and I would rather just

render
the whole thing.

Any advice would be greatfully received,

Adam



Nov 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Fourge | last post: by
6 posts views Thread by Nautilus | last post: by
1 post views Thread by KC | last post: by
2 posts views Thread by Giedrius | last post: by
5 posts views Thread by joshnaro | last post: by
3 posts views Thread by SAL | last post: by
1 post views Thread by =?Utf-8?B?TUNN?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.