sql-server - sp_send_dbmail 在电子邮件正文末尾附加(空)
问题描述
我正在使用 SQL Serversp_send_dbmail
发送电子邮件通知(HTML 正文)。这是我的配置。
EXEC msdb.dbo.sp_send_dbmail
@recipients = @list,
@copy_recipients = @ccList,
@importance = 'NORMAL',
@subject = @subject,
@body = @body,
@body_format = N'html',
@profile_name = 'myProfile'
电子邮件按预期工作,但我在电子邮件正文的末尾收到 (null)。
Thanks,
Project Team.
(null)
我还验证了我的 HTML 是否存在无效字符和图像。
解决方案
推荐阅读
- django - /services/ 'services' 处的 Django NoReverseMatch 不是已注册的命名空间
- go-gorm - 在gorm golang上选择带有连接表的总和
- slider - Jetpack Compose 更改滑块拇指大小
- javascript - 如何使用css增加div的高度?
- docker - jenkins 运行 docker 命令获取权限被拒绝
- javascript - 如何使用 SocketIO 向特定房间广播
- reactjs - ReactJS - 我收到错误“r Invariant failed - not use outside a
" - 这发生在一个页面中,而不是其他页面 - python - 如何检测有效负载中缺少特定字段并通过Django中的异常进行处理?
- php - 关于 php 中的 iterator_count 的困惑
- docker - Visual Studio Code 不从 Docker 桌面启动