英文:
Dynamic subject on send port generated email
问题
我最近继承了一个BizTalk 2013的设置,并且正在努力适应它。
我有一个发送端口,当它接收到一个XML文件时会生成一封电子邮件 - 目前它将文件作为附件发送到特定的电子邮件地址。我的问题是如何指定一个基于XML文件内容的自定义主题。目前,主题被硬编码到端口的属性中。
有一个主题将极大地帮助整理收到的电子邮件,每天都有数十封。
英文:
I've recently inherited a BizTalk 2013 setup and am struggling to get up to speed with it.
I have a send port which generates an email when it receives an XML file - currently it sends the file as an attachment to a specific email address. My question is how can I specify a custom subject which is based on the XML file contents. Currently, the subject is hardcoded into the properties of the port.
Having a subject will greatly help sorting the emails received, of which there are dozens everyday.
答案1
得分: 1
你需要将发送端口更改为动态发送端口,并且需要一个编排或其他流程来设置SMTP.Subject属性以及其他属性,例如:
Mail_MSG(SMTP.Subject) = XML_MSG.subject;
在您喜欢的搜索引擎中搜索以下内容以获取各种示例:
biztalk dynamic smtp send port
英文:
You need to change your send port to a Dynamic send port, and have an Orchestration or other process that sets the SMTP.Subject property and other properties such as
e.g.
Mail_MSG(SMTP.Subject) = XML_MSG.subject;
Search for the below in your favourite search engines for various examples
> biztalk dynamic smtp send port
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论