发送收件人错误 [英] Send Recipient error

查看:97
本文介绍了发送收件人错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我创建了一个简单的SMTP发送库(例如System.Net.Mail),但有一个错误,我不知道如何解决.

我使用IIS作为SMTP服务器,并且尝试使用端口25上的套接字连接发送一封电子邮件,收件人为"first.last@domain.com".出于某种原因,IIS关闭了该连接,您在收件人@之前使用.''.如果我使用"firstlast@domain.com"之类的电子邮件,则可以使用.我一直在环顾四周,但没有找到任何解释的方法.

你有什么主意吗?

Hi,
I have created a simple SMTP sending Library (like System.Net.Mail), and there is an error that I have no idea how to solve.

I use IIS as the SMTP Server, and I''m trying to send an email where the recipient is "first.last@domain.com", using a Socket connection on port 25. For some reason, the IIS closes the connection where you use ''.'' on the recipient before ''@''. If I use an email like "firstlast@domain.com", it works. I have been looking around, but haven''t found anything explaining this.

Do you have any idea?

推荐答案

pedro_furtado写道:
pedro_furtado wrote:

I''m已经创建了一个简单的SMTP发送库(如System.Net.Mail)

I''m have created a simple SMTP sending Library(Like System.Net.Mail)



为什么要重新发明轮子?



Why reinvent the wheel?


Mark:
组件System.Net.Mail 也存在此问题,我认为此问题是该组件上的错误.而且还因为它很有趣.
Mark:
The component System.Net.Mail also has this problem, and I thought that this problem was a bug on the component. And also because it was fun.


这篇关于发送收件人错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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