SMTP body

Viewing 1 reply thread
  • Author
    Posts
    • #14605

      After reading and trying several hours, I can’t figure out how to send plain text through a dynamic ports that use the smtp adapter.

      I can send a e-mail with a to, from and subject but with the body it fails.

      Everyone use the following method the add a body but it fails:

      MsgStatusBestelling(SMTP.Subject) = \”uw order \”+MsgRequestBestelling(BizTalkEindwerk.OrderNumber);
      MsgStatusBestelling(SMTP.From) = \”[email protected]\”;
      MsgStatusBestelling(SMTP.SMTPHost) = \”hasex086.dolmen.be\”;
      MsgStatusBestelling(SMTP.EmailBodyFileCharset)=\”UTF-8\”;
      MsgStatusBestelling(SMTP.EmailBodyText) = \”testing\”;

      Greetings

    • #14606

      I’ve read this topic
      [url]http://www.biztalkgurus.com/forums/viewtopic.php?t=656&highlight=smtp[/url]

      but I’m not a step further.

      • #14607

        I’m a little bit closer.

        What have I been doing? I have placed the Rawstring in the GAC and create a variable from that type.

        Do I need a pipeline?

        • #14608

          I’ve used a sending pipeline with a MIME encoder.

          Now, I get the following error:

          [code:1:335fb5ef10]Uncaught exception (see the ‘inner exception’ below) has suspended an instance of service ‘BizTalkEindwerk.Webshop(3285a6c5-a2a4-80ee-9ce2-8fc32f503e1b)’.
          The service instance will remain suspended until administratively resumed or terminated.
          If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
          InstanceId: c978c591-edb6-4363-bbf1-e20ae78abab9
          Shape name:
          ShapeId:
          Exception thrown from: segment -1, progress -1
          Inner exception: Could not load file or assembly ‘Microsoft.XLANGs.StreamingSDK, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f7896067bef0813b’ or one of its dependencies. The system cannot find the file specified.

          [/code:1:335fb5ef10]

          I think it has to do with my dll in the GAC that I use for the RawString

          Please Reply 🙂

          • #14609

            Found the problem.

            The .ddl was badly installed into the GAC. With drag and dropping, this worked well.

            I used a variable for the RawString instead of a Message.

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