如何在asp.net中发送确认注册电子邮件? [英] How to send confirm registration email in asp.net ?
本文介绍了如何在asp.net中发送确认注册电子邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我最近在网站上使用了会员资格,但是我仍然不知道会员资格中是否存在专门用于创建用户向导的功能,该功能允许我们向用户发送确认注册电子邮件.因此,任何人都可以帮忙吗?
在此先感谢您.
Hi all ,
I have recently used membership in my website,but i am still not knowing if there is a feature in membership specifically in create user wizard that allows us to send confirm registration email to the user.So please can anyone help ?
Thanks in advance.
推荐答案
有人在您的网站上注册时,您将通过回发到服务器来处理它,因此您可以在代码中捕获事件.并添加一些代码以向用户发送电子邮件.
SendMail 101-如何通过SMTP(C#和ASP.NET)发送电子邮件 [ ^ ]
When someone registers with your site, you will be handling it with a postback to your server, so you can capture the event in your code behind and add some code to send an email to the user.
SendMail 101 - How to send e-mails over SMTP (C# and ASP.NET)[^]
那里没有内置的.net登录控制功能,无法在注册后发送电子邮件.
这是一个定制的活动.因此您需要使用System.Net
SMTP发送电子邮件.
正如马库斯所说的,检查链接以发送电子邮件.
There is no inbuild facility with .net login control to send an email after registration.
it''s a customized activity. so you need to send an email withSystem.Net
SMTP.
as marcus said check link to send email.
这篇关于如何在asp.net中发送确认注册电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文