使用免费smtp发送邮件时遇到问题

时间:2022-11-15 10:48:41

I am trying to send mail from a local iis app using localhost as my smtp server after installing free smtp but I am getting the following error:

我在安装免费smtp后尝试使用localhost作为我的smtp服务器从本地iis应用程序发送邮件,但是我收到以下错误:

Mailbox unavailable. The server response was: Invalid 

recipient: 'validAddress'@hotmail.com

Any idea what the problem could be?

知道问题可能是什么?

4 个解决方案

#1


1  

it sounds like your free (3rd party) smtp app is not leaving your network and might be trying to see if it has that mailbox itself. Try and see if there is a setting to allow the smtp server to access external connections, etc. What is the name of the free smtp app, btw?

这听起来像你的免费(第三方)smtp应用程序没有离开你的网络,可能会试图看看它是否有该邮箱本身。尝试看看是否有设置允许smtp服务器访问外部连接等。免费smtp应用程序的名称是什么,顺便说一下?

Alternatively, can u use the built in SMTP mail provider, built into iis? do you know how to use that, instead of this 3rd party app.

或者,您可以使用内置于iis中的内置SMTP邮件提供程序吗?你知道如何使用它,而不是这个第三方应用程序。

#2


1  

It looks more like the SMTP service needs to be configured to "Relay" email... Usually this involves telling it what YOUR mail domain is, and then any mail destin for a domain other than it's own will cause it to go out to the world, and try to relay the message to the real server.

看起来更像是需要将SMTP服务配置为“中继”电子邮件...通常这涉及告诉它您的邮件域是什么,然后任何邮件目的地为其他域以外的域将导致它出去世界,并尝试将消息中继到真实服务器。

But, be careful! This is how spammers exploit email servers. They look for SMTP listeners that will relay for them. You want to make sure yours will only accept relay mail from "localhost", or whatever machine will be connecting to it to do the sending.

不过要小心!这就是垃圾邮件发送者利用电子邮件服他们寻找将为他们转发的SMTP侦听器。您希望确保您的只接受来自“localhost”的中继邮件,或者将连接到它的任何计算机进行发送。

A more secure way is to block port 25 inbound at your firewall to this box, so this SMTP server is not visible to the outside world.

更安全的方法是阻止防火墙的入站端口25到此框,因此外部世界不会看到此SMTP服务器。

#3


0  

Write and test a simple smtp sender in C. It needs 3 minutes with RFC

在C中编写并测试一个简单的smtp发送器。它需要3分钟的RFC

#4


0  

Use Wireshark to see what comes on the wire between your application and the SMTP server.

使用Wireshark查看应用程序和SMTP服务器之间的连线。

#1


1  

it sounds like your free (3rd party) smtp app is not leaving your network and might be trying to see if it has that mailbox itself. Try and see if there is a setting to allow the smtp server to access external connections, etc. What is the name of the free smtp app, btw?

这听起来像你的免费(第三方)smtp应用程序没有离开你的网络,可能会试图看看它是否有该邮箱本身。尝试看看是否有设置允许smtp服务器访问外部连接等。免费smtp应用程序的名称是什么,顺便说一下?

Alternatively, can u use the built in SMTP mail provider, built into iis? do you know how to use that, instead of this 3rd party app.

或者,您可以使用内置于iis中的内置SMTP邮件提供程序吗?你知道如何使用它,而不是这个第三方应用程序。

#2


1  

It looks more like the SMTP service needs to be configured to "Relay" email... Usually this involves telling it what YOUR mail domain is, and then any mail destin for a domain other than it's own will cause it to go out to the world, and try to relay the message to the real server.

看起来更像是需要将SMTP服务配置为“中继”电子邮件...通常这涉及告诉它您的邮件域是什么,然后任何邮件目的地为其他域以外的域将导致它出去世界,并尝试将消息中继到真实服务器。

But, be careful! This is how spammers exploit email servers. They look for SMTP listeners that will relay for them. You want to make sure yours will only accept relay mail from "localhost", or whatever machine will be connecting to it to do the sending.

不过要小心!这就是垃圾邮件发送者利用电子邮件服他们寻找将为他们转发的SMTP侦听器。您希望确保您的只接受来自“localhost”的中继邮件,或者将连接到它的任何计算机进行发送。

A more secure way is to block port 25 inbound at your firewall to this box, so this SMTP server is not visible to the outside world.

更安全的方法是阻止防火墙的入站端口25到此框,因此外部世界不会看到此SMTP服务器。

#3


0  

Write and test a simple smtp sender in C. It needs 3 minutes with RFC

在C中编写并测试一个简单的smtp发送器。它需要3分钟的RFC

#4


0  

Use Wireshark to see what comes on the wire between your application and the SMTP server.

使用Wireshark查看应用程序和SMTP服务器之间的连线。