C#中的SMTP错误 [英] SMTP Error in C#

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

问题描述

<! - / *样式定义* / p.MsoNormal,li.MsoNormal,div.MsoNormal {mso-style-parent:"" ;;保证金:0in;边距:.0001pt; MSO的分页:寡妇,孤儿;字体大小:12.0pt; font-family:" Times New Roman" ;; mso-fareast-font-family:" Times New Roman" ;;} @page Section1 {size:8.5in 11.0in;保证金:1.0in 1.25in 1.0in 1.25in; MSO头利润率:.5in; MSO英尺利润率:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} - >

我通过MS Outlook 2003在C#程序中使用SMTP客户端发送邮件。最近我们的邮件服务器更新到服务器2008中的MS outloock 2007.Now我无法在C#程序中使用SMTP客户端发送邮件。邮箱不可用时出错。服务器响应为:5.7.1无法中继或某些时间服务器不支持安全连接。请帮帮我。

<!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} -->

I sent mail using SMTP client in C# program through MS outlook 2003. Recently our mail server updated to MS outloock 2007 in server 2008.Now I can’t send mail using SMTP client in C# program. The error occur Mailbox unavailable. The server response was: 5.7.1 Unable to relay or some time Server does not support secure connections. Please help me .

推荐答案

Hi Prasad

我不知道是否这对你有所帮助 我想通知你,这个论坛专门针对Windows Server 2008应用程序兼容性和Logo认证相关的问题。但是,以下内容可能会有所帮助。

I don’t know if this will help you but I would like to inform you that this forum is dedicated to Windows Server 2008 Application compatibility and Logo certification related issues. However, the following may be helpful.

请检查以下因素:

检查接收连接器。检查默认连接器的网络属性 - 如果已将机器的IP添加到所需的 运行应用程序。

·         Check the receive connectors. Check the network property of the default connector- if you have added the IPs of the machines from where you want to run the Application.

在身份验证下仅选择TLS并从外部保护认证下的选项

仅在权限组下选择Exchange Server。

重新启动传输服务并尝试发送电子邮件

您可以在以下论坛中发布Exchange服务器相关问题:

< a href ="http://social.technet.microsoft.com/Forums/en-US/category/exchangeserver/"> http://social.technet.microsoft.com/Forums/en-US/category/exchangeserver/

http://social.technet.microsoft.com/Forums/en-US/category/exchangeserver/

http://social.technet.microsoft。 com / forums / zh-CN / exchangesvr3rdpartyapps / threads /

http://social.technet.microsoft.com/forums/en-US/exchangesvr3rdpartyapps/threads/

希望这会有所帮助。

问候

Gayathri Mallya


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

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