Send aspx to Email..?

  • Thread starter Thread starter Kent
  • Start date Start date
K

Kent

Hi all,

I have a .aspx page that I would like to Outlook.
I can do that from the browser by:
File/Send/Page by Email

...but it would be better if I cold send directly to Outlook.

How can I do this?

/Kent J.
 
Hi,

I am not sure whether i understood your question
correctly , Here is my 2 cents

If you want to send a web page inline using ASP.NET you
have to use the following properties of message class in
System.Web.Mail Namespace

msg.Body = HTML_STRING; // HTML content of page to be
sent as an attachment

msg.UrlContentBase = URL_STRING // for relative URL's

msg.BodyFormat = System.Web.Mail.MailFormat.Html;

The following link may be helpful to you

http://www.devhood.com/tutorials/tutorial_details.aspx?
tutorial_id=37

-Gopi
 
Back
Top