BizTalk SMTP The part 'PartAttachment' of message 'msg_Email' contained a null value at the end of the construct block

前端 未结 1 397
不知归路
不知归路 2021-01-27 11:24

Quick summary of issue - when I set the RawString to text, the email with attachment is sent and properly named. When I set the attachment to a RawString message, I get the err

相关标签:
1条回答
  • 2021-01-27 12:13

    The following is a get-around that seems to work.

    msg_Email.PartAttachment = new SBA.Ledger6002.Component.RawString(
                                    msg_Raw_String.MessagePart_1.ToString()); 
    

    If anybody can explain why I just can't set it to msg_Raw_String.MessagePart_1, I would love to know.

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