Why is the email atachment i sent by BizTalk “body.csv” in OUTLOOK 2016?

前端 未结 1 1999
渐次进展
渐次进展 2021-01-21 20:40

I created a simple interface that send an email. I have set the filename by

msg_out_renamed(MIME.FileName) = FileName;

This works fine in my o

相关标签:
1条回答
  • 2021-01-21 21:24

    Change the context property MIME.FileName for the part of your attachment as well.

    In an orchestration: (note the ".part" code)

    Message.part(MIME.FileName) = "NewFileName.txt";
    

    In a pipeline component: (note the ".BodyPart" code)

    pInMsg.BodyPart.PartProperties.Write("FileName", "http://schemas.microsoft.com/BizTalk/2003/mime-properties", "NewFileName.txt");
    

    Unfortunately we cannot see these context properties via the Message details screen in the BizTalk console. Attach a debugger to inspect these values.

    0 讨论(0)
提交回复
热议问题