发送邮件任务在我的工作站中不起作用 [英] Send Mail Task not working in my workstation

查看:84
本文介绍了发送邮件任务在我的工作站中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在VS2015中进行Integration Services项目,我需要发送一个HTML格式的邮件。



在尝试发送电子邮件时我收到此消息:



[Send Mail Task]错误:出现以下错误消息时出错:"发送邮件失败.System.Net.WebException:无法连接到远程服务器System.Net.Sockets。 SocketException:尝试通过其访问权限xxx.xx.xx.xx禁止
访问套接字:25"。



< p style ="padding-right:0px;字体大小:15像素;行高:继承; font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;垂直对齐:基线;明确:两者;颜色:#242729">
我有服务器的流量,telnet工作正常。另一个工作站可以正确发送电子邮件,但我的没有。



我该怎么做才能解决这个问题?

解决方案

有关防火墙的信息,请参阅以下内容(回复14分)


https://stackoverflow.com/questions/20779336/an-attempt-was-made-to-access-a-socket-in-a-way-禁止逐其存取permiss


I'm working on an Integration Services Project in VS2015 where I need to send a HTML formatted mail.

While trying to send the email I'm getting this message:

[Send Mail Task] Error: An error occurred with the following error message: "Failure sending mail. System.Net.WebException: Unable to connect to the remote server System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions xxx.xx.xx.xx:25".

I have traffic to the server and telnet works correctly. Another workstations can send the email correctly, but mine doesn't.

What can I do to fix this?

解决方案

See the following in regards to firewall (reply with 14 point)

https://stackoverflow.com/questions/20779336/an-attempt-was-made-to-access-a-socket-in-a-way-forbidden-by-its-access-permiss


这篇关于发送邮件任务在我的工作站中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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