我有一个使用SSRS 2008 R2的报告,我想使用"email“选项订阅此报告。我已经将reporting管理器中的设置配置为使用服务器作为"smtp.gmail.com“,使用发件人地址作为我的gmail ID。
我还尝试使用SMTP虚拟服务器,并使用智能主机作为"smtp.gmail.com“中继它。但是,在发送电子邮件时,我会遇到以下错误:
发送邮件失败:传输未能连接到服务器。
我正在使用IIS 7和Windows 2008。下面是我的rsreportserver.config文件的片段:
<SMTPServer>smtp.gmail.com</SMTPServer>
<SMTPServerPort>587
</SMTPServerPort>
<SMTPAccountName>
</SMTPAccountName>
<SMTPConnectionTimeout>
</SMTPConnectionTimeout>
<SMTPServerPickupDirectory>
</SMTPServerPickupDirectory>
<SMTPUseSSL>True
</SMTPUseSSL>
<SendUsing>2</SendUsing>
<SMTPAuthenticate></SMTPAuthenticate>
<From>myid@gmail.com</From>任何帮助都将不胜感激。谢谢
发布于 2018-10-23 14:29:50
我在2017年的SSRS连接上遇到了问题。我尝试了十几种不同的建议,最后得出了以下结论。我不需要在windows服务器上设置SMTP中继或SMTP服务。
打开Reporting配置管理器。转到-电子邮件设置>>>
现在转到rsreportserver.config文件。我的位置是C:\Program \报告Services\SSRS\ReportServer\rsreportserver.config
查找<SMTPServerPort>并设置为587
Save rsreportserver.config
https://stackoverflow.com/questions/21479550
复制相似问题