How to edit the html from ASP in a better way?

后端 未结 2 544
臣服心动
臣服心动 2021-01-14 04:34

Hello I have an ASP script that I need to edit. Actually I need to restyle the email that it sends, so I need to edit the HTML from it.

The problem is the html (from

2条回答
  •  南方客
    南方客 (楼主)
    2021-01-14 05:03

    You could create a html template file with some placeholders in it, read it in, replace the placeholders and then use it in your email. Saves you having to keep messing about building up the html using variables. This previous answer has some more details about a possible solution (with code examples).

提交回复
热议问题