Click to See Complete Forum and Search --> : send a aspx o/p file as a mail body


swapcode
May 22nd, 2006, 05:34 AM
hi,
i want to send a file which is displaying the invoice, as a contents of mail.
so how to capture that invoice which is displayed on desktop and send it to the body of mail? pls help

HairyMonkeyMan
May 22nd, 2006, 07:23 AM
how to capture that invoice which is displayed on desktop and send it to the body of mail?

How is it displayed on the desktop?

swapcode
May 31st, 2006, 08:58 AM
hi, problem is solved by using

System.Web.HttpContext.Current.Request.Url.AbsoluteUri.ToString()

take this url and read using streamreader and return the string.

thanks

hope it will help u.