zoukankan      html  css  js  c++  java
  • Exceeded storage allocation. The server response was: 4.3.1 message size exceeds fixed maximum message size. 邮件过大的异常解决

    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......

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

  • 相关阅读:
    ant design pro梳理
    JSON.stringify()
    数组小细节
    js this细节
    策略模式解决if-else过多
    使用useState的赋值函数异步更新问题
    Hook
    React Api
    Intent
    树的非递归遍历
  • 原文地址:https://www.cnblogs.com/liuzhendong/p/2220291.html
Copyright © 2011-2022 走看看