发送邮件时出错 [英] Error while sending mail

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

问题描述

我有一个生成电子邮件的系统,并将它们发送到许多不同的域组,这些域组具有各种邮件服务器帐户。只有部分群组才会发送邮件,而某些群组则没有收到邮件。由于邮件被传递给某些组,我们可以假设功能或编码工作正常。可能是邮件配置有问题还是邮件服务器有问题?请帮助

I have a system which generates emails and sends them to a number of various domain groups, which have various mail server accounts. Only to some of the groups the mails are delivered and some of the groups are not receiving the mail. Since the mail is delivered to some of the groups we can assume that the functionality or coding is working good. Could it be some issue with the mail configuration or some problem with the mail server? Please help

推荐答案

您使用的是smtp吗?

可以在多个基础架构级别阻止SMTP中继功能。它很可能是防火墙或域控制器配置问题(对你来说问题,对于infra人来说是安全问题:)。



现在,如果你使用的是.net,那就相当了容易捕获Send方法可能抛出的不同异常,并且SMTP错误消息通常都很好......
Are you using smtp?
SMTP relaying functionality can be blocked at many levels of infrastructure. It is most probably a firewall or domain controller configuration issue (issue for you , srcurity for infra guys :) ).

Now if you are using .net it is quite easy to catch the different exceptions that the Send method is possibly throwing and SMTP error messages are generally quite good...


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

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