单击按钮时发送电子邮件时smtp服务器中的错误 [英] error in smtp server while email sending on button click

查看:184
本文介绍了单击按钮时发送电子邮件时smtp服务器中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨frnds,



从asp.net c发送电子邮件时出错#



这是错误。



连接尝试失败,因为连接方在一段时间后没有正确响应,或者建立的连接失败,因为连接的主机无法响应10.20.105.151 :25



昨天它正常工作,现在显示错误



请你帮我。< br $> b $ b

谢谢。

Hi frnds,

Error during sending email from asp.net c#

This is the error.

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.20.105.151:25

yesterday it was working, now its shows error

Please can you help me.

Thanks.

推荐答案





并且您已经双重检查了25端口是否已打开?很容易检查您是否能够从控制台窗口登录服务器并执行telnet 10.20.105.151 25..



如果没有,您可以随时尝试使用TcpClient向端口和地址打开套接字。
Hi,

And you have doublechecked that port 25 outbound is open? Easy to check if you are able to login to the server and doing a "telnet 10.20.105.151 25" from a console window..

If not, you could always try to open a socket towards the port and adress using TcpClient.


这篇关于单击按钮时发送电子邮件时smtp服务器中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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