单击“链接以批准申请表” [英] Click the Link to Approve the Request Form

查看:87
本文介绍了单击“链接以批准申请表”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在写一个审批系统。在批准系统中,请求者需要请求批准请求应用程序。在请求者填写信息并通过电子邮件将应用程序发送给经理之后。管理员只需单击链接即可查看应用程序并批准该应用程序。现在,我坚持要做代码点击链接批准。任何人请给出建议或代码继续我的项目。谢谢。



I'm writing an approval system. In the approval system requester need to request to approve the request application. After the requester fill up the information and send the application to manager via email. The manager just need to click the link to view the application and approve the application. Now, I'm stuck to do the code for click the link for approve. Anyone Please give suggestion or code to continue my project.Thank you.

Dim mail As New MailMessage()
   mail.[To].Add(AppMgr.SelectedValue)
  'mail.To.Add("man@celestica.com")
   mail.IsBodyHtml = True


   Dim smtp As New SmtpClient()
   smtp.Host = "smtp.gmail.com"
   'Or Your SMTP Server Address
   smtp.Credentials = New System.Net.NetworkCredential("YourGmailID@celestica.com",     "YourcelesticamailPassword")
   'Or your Smtp Email ID and Password
   smtp.EnableSsl = True
   smtp.Send(mail)

推荐答案

创建像


mail.Body = strBody;



和内部邮件正文使用锚标签查看页面,你想要向管理员显示加密的URL并在该页面内创建一个按钮来激活页面。
Create Emailbody like

mail.Body = strBody;

and inside email body use anchor tag to view the page, you wanna show the admin with encrypted url and inside that page create a button to activate the page.


这篇关于单击“链接以批准申请表”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆