动态主题在发送端口生成的电子邮件

huangapple go评论61阅读模式
英文:

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

huangapple
  • 本文由 发表于 2020年1月6日 20:30:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/59612167.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定