locked
Raise Web Application Page and Send Email.Please Help. RRS feed

  • Question

  • User1655366035 posted

    Hello I have a Windows Service whose work is daily at a particular it fire a method which sends email.

    But i have a page in that i have a Gridview. I want at a particular time the windows Service should raise the page of webapplication  and sends the Gridview in email.


    How to do this>???? anyone has the knowlede then please tell me.

    Thanks.

    Sunday, February 28, 2010 8:26 AM

Answers

  • User1408790675 posted

    Just to give you an idea: Create a helper class to call the WebRequest. Choose the request type as either POST or GET. Send the request (either a call to a page or a handler). Get the response. End.

    The response should return an HTML page that can be used as an embedded html in your email.

    hth

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, February 28, 2010 11:37 PM