在asp.net中恢复密码的问题 [英] Problem with recovering password in asp.net

查看:74
本文介绍了在asp.net中恢复密码的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我在网页上添加了恢复密码控件...但是当我对其进行测试时,请向我显示此错误!

hey guys,
i added a recover password control to my webpage ... but when i test it , show me this error !

No connection could be made because the target machine actively refused it 127.0.0.1:25


Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:25

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.





我该如何解决?请帮忙!
我正确输入了管理员和安全性问题!
tnx all





how can i solve it? please help!
i enter my admin and security question correctly!
tnx all

推荐答案

验证您的SMTP服务是否允许连接(看起来SMTP服务应该从错误127.0.0.1:25 localhost = 127.0托管在本地计算机上. 0.1 SMTP知名端口= 25)

Verify that your SMTP service is allowing connections (looks like your SMTP service should be hosted on local machine from error 127.0.0.1:25 localhost=127.0.0.1 SMTP well known port=25)

报价:

远程主机强行关闭了现有连接.]

An existing connection was forcibly closed by the remote host.]


这表明您的SMTP服务可能由于某种原因拒绝了您的连接.

取决于您的SMTP服务

1)检查是否允许中继
2)检查并确保从本地主机允许连接
3)如果您有黑名单检查,请确保未将127.0.0.1列入黑名单
4)检查是否需要smtp身份验证
5)有时视防病毒SMTP服务而定可能被阻止

等等.


This shows that your SMTP service might be rejecting your connection for some reason.

Depending on your SMTP service

1) check to see if relaying is allowed
2) check to make sure connections are allowed from localhost
3) if you have black list check and make sure 127.0.0.1 isn''t blacklisted
4) check if smtp authentication is required
5) sometimes depending on anti-virus SMTP service might be blocked

etc.


我联系了yahoo支持聊天服务!
我与他们讨论了这个问题,他们说我应该使用邮件加服务!
您用于向用户发送电子邮件的服务器必须授予您权限!
yahoo授予您此权限,可以将yahoo邮件升级为mail plus ...
mail plus允许您使用yahoo smtp服务:)
还有一点是,您应该在配置文件中输入类似以下代码的内容:
i contacted to yahoo support chat service !
i discuss about this with them and they said i should use mail plus service!
the server that you use for sending emails to users mail must give you permission !
yahoo give you this permission with upgrade your yahoo mail to mail plus...
mail plus allow you to use yahoo smtp service :)
and something else is that you should enter on your config file something like this code :
<system.net>
        <mailsettings>
            <smtp from="YourYahooID@yahoo.com"> 
              <network host="smtp.mail.yahoo.com" port="465"

                  enableSsl="true" defaultCredentials="true"/>
            </smtp>
        </mailsettings>
</system.net>



真是太幸运了!



gud luck !


这篇关于在asp.net中恢复密码的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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