1.症状:

使用System.Net.Mail发送邮件时遇到错误: Exceeded storage allocation. The server response was: 4.3.1 message size exceeds fixed maximum message size.

 

2.错误log:

ERROR 2011-10-21 13:49:31,389 [36] logException [(null)] -System.Net.Mail.SmtpException: Exceeded storage allocation. The server response was: 4.3.1 Message size exceeds fixed maximum message size
   at System.Net.Mail.DataStopCommand.CheckResponse(SmtpStatusCode statusCode, String serverResponse)
   at System.Net.Mail.SmtpConnection.OnClose(Object sender, EventArgs args)
   at System.Net.ClosableStream.Close()
   at System.Net.Mail.MailWriter.Close()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at CustomerOrder.btnSend_Click(Object sender, EventArgs e) in d:\CustomerOrder.aspx.cs:line 907

 

3.解决办法:

修改Limit message size to (KB),扩大它就ok了。具体见下图:

Exceeded storage allocation. The server response was: 4.3.1 message size exceeds fixed maximum messa...

 

参考:

Exceeded storage allocation. The server response was......

http://bytes.com/topic/asp-net/answers/588778-exceeded-storage-allocation-server-response

 

转载于:https://www.cnblogs.com/liuzhendong/archive/2011/10/21/2220291.html

相关文章:

  • 2022-12-23
  • 2021-09-26
  • 2021-07-31
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
猜你喜欢
  • 2021-10-14
  • 2021-11-22
  • 2021-09-24
  • 2022-01-02
  • 2021-05-19
  • 2021-07-14
相关资源
相似解决方案