SQL Server 2005 sp_send_dbmail

发布于 2024-09-03 03:26:15 字数 275 浏览 15 评论 0原文

当我们使用 sp_send_dbmail 发送带有附件的电子邮件时,附件会被复制到 C:\Windows\Temp 内的文件夹中。由于我们每天有很多电子邮件要发送,临时文件夹增长得很快。 SQL Server 2005 就是这种情况。我们注意到,在 SQL Server 2008 中,我们在临时文件夹下看不到这些文件。

是否有任何设置可以关闭上述行为?

SQL Server 2008 是否将文件存储在任何其他文件夹中而不是临时文件夹中?

感谢您的帮助和时间。

谢谢。

When we use sp_send_dbmail to send email with attachment, the attachment gets copied into a folder inside C:\Windows\Temp. As we have many emails to be sent every day, the temp folder grows rapidly. This is the case with SQL Server 2005. We noticed that, with SQL Server 2008, we dont see these file under temp folder.

Is there any setting to turn the above behavior off?

Does SQL Server 2008 store the files in any other folder and not in temp?

Appreciate your help and time.

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

送君千里 2024-09-10 03:26:15

不是对您的问题的直接答案,而是一个可能的解决方法:

如何按设定的计划删除旧的临时文件以保持文件夹较小?

Not a direct answer to your question, but a possible work around:

How about deleting the older temp files, on a set schedule, to keep the folder smaller?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文