How do I increase the maximum allowed attachment size for email sent using msdb.dbo.sp_send_dbmail in Microsoft SQL Server 2005/2008

前端 未结 3 705
名媛妹妹
名媛妹妹 2020-12-15 15:50

Symptom: Sending an attachment using msdb.dbo.sp_send_dbmail results in the following error:

File attachment or query results size exceeds allowable value of 100000

3条回答
  •  粉色の甜心
    2020-12-15 16:07

    Open Database Mail Configuration Wizard.
    Go to the “Select Configuration Task” window; Select the last option to the bottom “View or change systems parameters” and click Next.
    “Configure System Parameters” window pops up, modify the “Maximum File Size(Bytes)” Parameter to your need. 10000000 (~10MB) did the trick for us.
    

提交回复
热议问题