.NET 4.0 发送附件大于 3MB 的电子邮件时失败

发布于 2024-09-01 03:21:04 字数 1459 浏览 7 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

马蹄踏│碎落叶 2024-09-08 03:21:04

该错误已修复:https://connect.microsoft.com/VisualStudio /Downloads/DownloadDetails.aspx?DownloadID=30226

标题:KB2183292

发布日期:2010 年 7 月 21 日

大小:8.58 MB

版本:修补程序

类别:构建

描述 QFE:System.Net.Mail - 如果文件附件 > SmtpClient 类将引发异常超过3MB

The bug has been patched: https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=30226

Title: KB2183292

Release Date: 7/21/2010

Size: 8.58 MB

Version: Hotfix

Category: Build

Description QFE: System.Net.Mail - SmtpClient class throws exceptions if file attachment is > over 3MB

一紙繁鸢 2024-09-08 03:21:04

我在 Windows 2008 中安装了 http://support.microsoft.com/kb/2468871 的更新R2。计划将其安装在Windows 2003 R2 SP2 上。更新的安装没有太多延迟,并且无需重新启动即可运行。

它取代了
2183292
(http://support.microsoft.com/kb/2183292/)
修复:当您使用基于 .NET Framework 4 且使用“System.Net.Mail.SmtpClient”类的应用程序发送电子邮件时,如果电子邮件附件大于 3 MB,则会出现“发送邮件失败”错误消息

2413613
(http://support.microsoft.com/kb/2413613/)
当您运行基于 .NET Framework 4 的 Windows Presentation Foundation 应用程序时,快捷菜单可能会出现在距离鼠标指针较远的位置

2298853
(http://support.microsoft.com/kb/2298853/)
修复:Visual Studio 2010 错误:“错误 1 ​​错误 MSB4014:构建由于内部故障而意外停止”

2461678
(http://support.microsoft.com/kb/2461678/)
如果控件中数据绑定的源对象是在控件名称范围之外定义的元素,则基于 .NET Framework 4 的 WPF 应用程序会崩溃

2484841
(http://support.microsoft.com/kb/2484841/[anySimpleType]/)
修复:如果右键单击控件以打开弹出控件,基于 .NET Framework 4.0 的 WPF 应用程序可能会停止响应

希望这会有所帮助。

谢谢,
拉加夫

I installed the updates from http://support.microsoft.com/kb/2468871 in Windows 2008 R2. Planning to install it on Windows 2003 R2 SP2. The update was installed without much delay and it worked without a restart.

It replaces
2183292
(http://support.microsoft.com/kb/2183292/ )
FIX: "Failure sending mail" error message when you send an email message by using a .NET Framework 4-based application that uses the "System.Net.Mail.SmtpClient" class if the email attachment is larger than 3 MB

2413613
(http://support.microsoft.com/kb/2413613/ )
A shortcut menu may appear far away from the mouse pointer when you run a Windows Presentation Foundation application that is based on the .NET Framework 4

2298853
(http://support.microsoft.com/kb/2298853/ )
FIX: Visual Studio 2010 error: "Error 1 error MSB4014: The build stopped unexpectedly because of an internal failure"

2461678
(http://support.microsoft.com/kb/2461678/ )
A .NET Framework 4-based WPF application crashes if the source object of a data binding in a control is an element that is defined outside the name scope of the control

2484841
(http://support.microsoft.com/kb/2484841/[anySimpleType]/ )
FIX: A .NET Framework 4.0-based WPF application may stop responding if you right-click a control to open a pop-up control

Hope this helps.

Thanks,
Raghav

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文