如何增加在 Microsoft SQL Server 2005/2008 中使用 msdb.dbo.sp_send_dbmail 发送的电子邮件的最大允许附件大小 [英] How do I increase the maximum allowed attachment size for email sent using msdb.dbo.sp_send_dbmail in Microsoft SQL Server 2005/2008

查看:39
本文介绍了如何增加在 Microsoft SQL Server 2005/2008 中使用 msdb.dbo.sp_send_dbmail 发送的电子邮件的最大允许附件大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

症状:使用 msdb.dbo.sp_send_dbmail 发送附件会导致以下错误:

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

文件附件或查询结果大小超过 1000000 字节的允许值

File attachment or query results size exceeds allowable value of 1000000 bytes

我怎样才能增加这个价值?

How can I increase that value?

推荐答案

在 SQL Server Management Studio 的对象资源管理器框架中,展开管理"文件夹.打开数据库邮件配置向导.

In the Object Explorer frame of SQL Server Management Studio, expand the "Management" folder. Open the Database Mail configuration wizard.

单击下一步 -> 选择更改系统参数的视图"单选按钮,然后单击下一步.

Click Next-> Choose the radio button for "View of change system parameters" and click Next.

现在更改最大文件大小(字节)属性并单击下一步,然后单击完成以保存更改.

Now change the Maximum File Size (Bytes) property and click Next, then click Finish to save your changes.

有关详细信息,请参阅 MSDN 上的数据库邮件配置向导.

See Database Mail Configuration Wizard at MSDN for more info.

这篇关于如何增加在 Microsoft SQL Server 2005/2008 中使用 msdb.dbo.sp_send_dbmail 发送的电子邮件的最大允许附件大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆