简体   繁体   English

SMTP服务器设置-Web应用程序

[英]SMTP Server Setup - Web Application

I am having a few problems debugging an SMTP server connection when deploying a web application. 部署Web应用程序时,调试SMTP服务器连接时遇到一些问题。

Basically, I have no control over the firewall or the SMTP server but have been given the details, whereas my web application errors every time saying - 基本上,我无法控制防火墙或SMTP服务器,但是已经获得了详细信息,而我的Web应用程序每次都会出错-

Ex - Failure to send mail.
Inner Ex - Unable to connect to the remote server

I have installed telnet and attempted the following in command prompt - 我已经安装了telnet,并在命令提示符下尝试了以下操作-

telnet xxx.xxx.xx.xx 25
telnet <servername> 25

Neither of which work, they both return a message saying - 两者都不起作用,他们都返回一条消息,说-

'could not open connection to host'

I can ping them SMTP server file from the server I am trying to install the web application on. 我可以从尝试在其上安装Web应用程序的服务器上ping SMTP服务器文件。

Does this mean it is a firewall issue? 这是否意味着防火墙问题? Or is there something else I am missing? 还是我还缺少其他东西?

I want to make absolutely sure I have my setup correctand have tested everything possible before going back to the infrastructure guy... 我想绝对确定我的设置正确无误,并且在返回基础架构人员之前已经测试了所有可能的方法 ...

Thanks in advance. 提前致谢。

Turns out this was 2 separate issues. 原来这是2个独立的问题。

Firstly the firewall was blocking mail from the web server. 首先,防火墙阻止了来自Web服务器的邮件。 Once this was resolved we found the second issue - 解决此问题后,我们发现了第二个问题-

McAfee was blocking outbound emails, fix for this found here McAfee阻止了出站电子邮件,请在此处解决此问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM