TIBCO Spotfire使用技巧:在TIBCO Spotfire Server中配置 Automation Services来发送邮件

本文介绍了使用Office365作为SMTP服务器配置TIBCO Spotfire Automation Services配置文件以运行“发送电子邮件”任务的步骤。

解决方案

 1. 在运行Spotfire Server的计算机上,以管理员身份打开命令行,并将目录更改为config.bat文件的位置(Linux上的config.sh)。默认位置是 / tomcat / bin。

2. 在命令行上,使用export-service-config命令从Spotfire Server导出要修改的服务配置。指定服务的功能和部署区域,以及可选的配置名称。

config export-service-config --capability = AUTOMATION_SERVICES --deployment-area = Production

3. 打开配置“Spotfire.Dxp.Worker.Automation.config”并搜索以下部分并进行以下更改port = 587和useTls = true,输入用户名和密码。在更改之后,它应该类似于以下内容。


      
      
    

4. 在配置文件中搜索以下内容,将“smtp.company.com”替换为“smtp.office365.com”,将“[email protected]”替换为可能属于您的电子邮件地址。最后它应该如下所示。


      
      
      

	  
	Example:-
	
	  
      
      
      "

5. 使用以下命令保存文件并导入配置:

config import-service-config --config-name=ServiceConfiguration

6. 通过管理UI(节点和服务>自动化服务>编辑>选择刚刚配置的新配置)或通过命令行将配置应用于自动化服务,如下所示:

config set-service-config --service-id=value --config-name=ServiceConfiguration​

7. 打开客户端并使用server on server测试作业

 

参考文档

Doc:TIBCO Spotfire服务器和环境>手动编辑服务配置文件:

  • https://docs.tibco.com/pub/spotfire_server/7.11.0/doc/html/TIB_sfire_server_tsas_admin_help/GUID-958A3AB5-7243-4837-9AEA-78AA274A6F7E.html

Doc:TIBCO Spotfire Automation Services用户指南 --》Send Email: : 

  •  https://docs.tibco.com/pub/sfire_autsvcs/7.11.0/doc/html/TIB_sfire_autsvcs_7.11.0_UserGuide/GUID-4BAA0BE3-249C-4CD8-B791-C5021788CCF4.html

外部参考文档:O ffice365 SMTP服务器详细信息:

  • https://www.hesk.com/knowledgebase/index.php?article=93

如需要联系TIBCO原厂采购,各位可以访问如下链接

https://www.tibco.com/company/locations

中国北京Main Office Phone

+86 10 8341 3723

你可能感兴趣的:(TIBCO Spotfire使用技巧:在TIBCO Spotfire Server中配置 Automation Services来发送邮件)