且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在电子邮件正文中添加ASP按钮并为其编写事件

更新时间:2022-12-03 11:38:05

您的要求是胡扯.您无法在电子邮件中运行后台代码.您可以做的是在电子邮件中创建一个链接,然后打开一个浏览器,如果用户单击该浏览器,则将用户带到那里.那时,可以执行后台代码.
Your requirement is bollocks. You can''t run code-behind from an email. What you can do is create a link in your email which then opens a browser and takes the user there if they click on it. At that point code-behind can be executed.


是的,我现在所做的就是那件事.我放置了站点的链接按钮,它将用户带到站点并从那里开始事情发生在应用程序中.我不想通过单击按钮来完成电子邮件本身中的事情
ya what i did right now was that.i placed a link button of the site and it takes the user to the site and from there onwards the thing happens in the app.instead of doing that i wanted to do the thing in the email itself by the click of the button