send xml file as a body part for smtp adapter

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › send xml file as a body part for smtp adapter

Viewing 2 reply threads
  • Author
    Posts
    • #24573

      Hi friends,

       

      i receive a response from sql server as a xml document and i want to send it to a email id through SMTP adapter. Before sending, i am using a send pipeline that does some parsing in it. But when i recieve the mail, i recieve it as attachement. But i need it to be in body part. Also the attchement comes as an unknown type and when i open it, its content is not human readable.

       

      Any help plz?

       

      thanks

    • #24574

      some body help me out plz……..

    • #24575

      Haven’t you set up SMTP Transport Properties in send port. Try this link. Hope this will help you

        http://msdn.microsoft.com/en-us/library/aa578155%28v=BTS.20%29.aspx

       

      Thanks


      • #24576

        yes i have followed those properties.

         

        i am setting the subject of the mail and other properties in my send pipeline.

        i am receiving the mail content as a attachment which is wrong. and the attachment file name is just “body” and it is unknown file type.

        • #24585

          i am using a custom component in send pipeline.

          i use that component to replace some characters in the body content.

          but i am recieveing it as attachement instead of mail body content.

           

           

          • #24586

            also one question, do i need to implement mime/smime encoder alogn with my component?

            • #24598

              I got the solution.

               

              in the custom pipeline component i have mention

               

              inmsg.BodyPart.ContentType=”text”

Viewing 2 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.