FIX: "?????? ??? ??? ??? ??" ?????? ????? ?? ?? ???.NET Framework 4.0-?????? ????????? ?-??? ???????? 3 MB ?? ???? ?? ??? "System.Net.Mail.SmtpClient" ???? ?? ????? ???? ???? ?? ????? ?? ???? ?-??? ????? ?????

???? ?????? ???? ??????
???? ID: 2183292 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

?????

???????? ?? ????? ????:
  • .NET Framework 4.0-?????? ????????? ?? ?????? ?? ????????? ?? ????? ???? ??System.Net.Mail.SmtpClient???? ?? ????? ?-??? ??????
  • ?? ???? ???????? ?? ?? ?? ??? ????? ?????? ?? ??? ???? ?????? ???? ?-??? ??????
    • TransferEncoding???????? ??? ??? ????????? ???? ??? ??,TransferEncoding??? ?? ??? ??? ????????? ??Base64????????.
    • ???????? ?? ???? ??? ?? ?? 3 MB?
  • ?? ????? ?-??? ??????
?? ???????? ???, ??System.Net.Mail.SmtpException????? ?? ??System.IndexOutOfRangeException????? ????? ?? ????? ???? ??? ???? ??? ??, ???? ????? ?????? ????? ???????:
?????? ?????? ????
????? ?? ????? ????? ?? ??? ?????? ?????:
??????????? ???? ?? ?? ???? ???? ??? ?? ?????

????????

???????? ???????

?? ?? ??????? ???????? Microsoft ?? ?????? ??? ??? ?? ???????, ???? ?????? ??? ????? ????? ?? ???? ???? ??? ?? ???? ???????? ?? ???? ???? ?? ? ??? ?? ??????? ??????.

?? ??????, ?????? Microsoft ?????? ?????? ???? ???????? ?? ??????? ???? ?? ??? ?? ???? ?? ??? ? Microsoft ?????? ?????? ???? ?? ??? ?????? ?? ?????? ????? ?? ???? ??? ??????? ?? ???? ????, ?? ??? ????? Microsoft ??? ???? ?? ????:
http://support.Microsoft.com/contactus/?ws=support
???????? ?????? ???, ??????? ??? ?????? ????? ?? ??? incurred ????? ?? ???? ?? ???? ???? ?? ???? ??? Microsoft ?????? ????????? ????????? ???? ?? ?? ??? ????? ?????? ???? ?????? ?? ?? ??????? ???????? ?????? ???????? ?? ?? ???????? ?? ??????. ??? ??????? ?????? ?? ????? ???? ??????? ?????? ????? ???? ?????

????? ???????? ?? ??????? ???? ?? ??? ?? ?? ???? ??? ?? ?? ???? ????? Microsoft ??? ????:
https://Connect.Microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=30226

???? ?? ??? ??

.NET Framework 4.0 ?? ???? ???? ?? ??? ??????? ???? ????? ?? ?????????

???????? ???????? ????

???? ??? ???? ?? ??? ??? ???????? ????? ?? ????? ???? ?? ??? ??, ?? ?? ???????? ?? ???? ???? ?? ??? ???????? ?? ???????? ???? ?? ???.

???????? ??????????? ???????

?? ???????? ???? ?? ???? ?????????? ?? ???????????? ???? ?????

????? ???????

?? ???????? ?? ???????? ??????? ??? ????? ????????? (?? ??? ??? ????? ?????????) ?? ????? ?????? ??? ???????? ???? ?? ??????? ?? ??? ?????? ?? ???, ??????? ????????? ??? (UTC) ??? ???????? ??.. ?? ?? ????? ??????? ????? ???, ?? ?? ??????? ??? ??? ?????? ???? ???? ??.. UTC ?? ??????? ??? ??? ???? ?? ????? ?? ??? ???????? ??????? ????????? ?? ??????????? ???? ??? ?????
X86-?????? ????????? ?? Windows XP, Windows Server 2003 ??, Windows Vista ??, Windows Server 2008 ??, Windows 7 ?? ?? Windows Server 2008 R2 ?? ??? ?? ??? ??????? ?????
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
????? ?? ??????? ???????????? ???????????????????????
SetupUi.dll10.0.30319.335295,24813-Jul-201006: 36x86
Setupengine.dll10.0.30319.335809,30413-Jul-201006: 36x86
Setup.exe10.0.30319.33578,15213-Jul-201006: 36x86
System.dll4.0.30319.3353,482,44013-Jul-201011: 48x86
X64-?????? ????????? ?? Windows XP, Windows Server 2003 ??, Windows Vista ??, Windows Server 2008 ??, Windows 7 ?? ?? Windows Server 2008 R2 ?? ??? ?? ??? ??????? ?????
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
????? ?? ??????? ???????????? ???????????????????????
SetupUi.dll10.0.30319.335295,24813-Jul-201006: 36x86
Setupengine.dll10.0.30319.335809,30413-Jul-201006: 36x86
Setup.exe10.0.30319.33578,15213-Jul-201006: 36x86
System.dll4.0.30319.3353,482,44013-Jul-201011: 48x86
??? IA-x64-?????? ????????? ?? ??? Windows XP ??, Windows Server 2003 ??, Windows Vista ??, Windows Server 2008 ??, Windows 7 ?? ?? Windows Server 2008 R2 ?? ????? ???????
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
????? ?? ??????? ???????????? ???????????????????????
SetupUi.dll10.0.30319.335295,24813-Jul-201006: 36x86
Setupengine.dll10.0.30319.335809,30413-Jul-201006: 36x86
Setup.exe10.0.30319.33578,15213-Jul-201006: 36x86
System.dll4.0.30319.3353,482,44013-Jul-201011: 48x86
System.resources.dll4.0.30319.335217,44013-Jul-201006: 36x86

????? ?????????

????? ?? ?????? ?? ?????? ?? ??? ????? ??????? ??? ?? ???? ?? ?? ?????:
  • ????????? ????TransferEncoding?? ??? ??? ???QuotedPrintable??SevenBit? ?????? ?? ???, ??? ?? ????? ????????? ?? ????????? ??? ??????:
    • attachment.TransferEncoding = System.Net.Mime.TransferEncoding.QuotedPrintable;
    • attachment.TransferEncoding = System.Net.Mime.TransferEncoding.SevenBit;
    ????? ???? ???? ??? ???? ?? ????? ??? ???????SevenBit????????? ??QuotedPrintable????????? ?? ????????, ????? ?? ???? ?? ??????? ??QuotedPrintable????????? ?? ????? ???? ?? ???? ?? ?????????
  • ???? ???????? ???? ???? ?? ?? ????? ?? 3 MB?

??????

Microsoft ?? ?????? ?? ?? ?? ??? ???????? Microsoft ???????? ??? ?? ?? ?????? ?? "?? ?? ????" ????

??????

?? ???? ??? ???? ??????? ?? ???SmtpClient????, ????? Microsoft ?????? ??????? (MSDN) ??? ???? ?? ????:
"SmtpClient" ???? ?? ???? ??? ??????? ???????
?? ???? ??? ???? ??????? ?? ???TransferEncoding??? ?? ???, ????? MSDN ??? ???? ?? ????:
??? "TransferEncoding" ?? ???? ??? ??????? ???????
?????????? ?????? ?????? ?? ???? ??? ???? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????:
824684Microsoft ?????????? ???????? ?? ????? ???? ?? ??? ????? ???? ?? ???? ?????? ?? ?????

???? ???????

?? ?????? ?? ???: ??????? ???? ???? ?? ??? ????? ??? ?????:
using System.Net.Mail;

static void Main(string[] args)
{
    SmtpClient client = new SmtpClient("Your mail server");
    client.Credentials = new System.Net.NetworkCredential("User", "Password", "Domain");

    MailMessage msg = new MailMessage("Send From", "Send To", "Large Attachment Mail", "Large Attachment - Test Body"); 
    Attachment attachment = new Attachment(@"<attachment file>");
     msg.Attachments.Add(attachment);
    client.Send(msg);

    msg.Dispose();
    msg = null;
    client = null;
}

???

???? ID: 2183292 - ????? ???????: 24 ????? 2010 - ??????: 1.0
???? ???? ???? ??:
  • Microsoft .NET Framework 4
??????: 
kbqfe kbhotfixserver kbfix kbexpertiseadvanced kbmt KB2183292 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:2183292

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com