Sending aspx page with gridviews as email

后端 未结 3 766
情歌与酒
情歌与酒 2021-01-26 17:35

I was handed a new requirement and this one is new to me. After a day or two of research, I\'m still unable to figure this one out. The requirement is to find a way to send our

3条回答
  •  别那么骄傲
    2021-01-26 18:09

    You will not be able to send any 'asp' code in an email and have it displayed correctly at the other end, you need a webserver in order to translate the asp code to the readable format on the screen.

    Your idea about having a separate, unsecured page is spot on.

    Another idea would be to 'print' the html to an image and send this.

    Another option would be to generate a page that outputs html that is compatible with email clients and email this as the body.

提交回复
热议问题