Simple POP3 adapter question

Home Page Forums BizTalk 2004 – BizTalk 2010 Simple POP3 adapter question

Viewing 1 reply thread
  • Author
    Posts
    • #16480

      Most examples and discussion has been around attachments, I have a simpler questions.

      How do I get the body content?  Assuming it is text and I am using an xmlDocument as the in message type.  I am creating a common email schema that has the promoted subject, to, from etc. but cannot figure out how to get the content message.

      Secondly, how can I protect against accessing an undefined field like CC?  Do I need to scope and have an exception handler for each?

      Maybe there is a simple example that I have missed,

      Thanks

      Doug

       

       

    • #16524

      Hey Doug,

       The "body" should be stored as a part, no?  In my post (https://blogs.msdn.com/richardbpi/archive/2006/02/03/524484.aspx) you'll see that the text of the message itself shows up as a part.  You can get this part out in an orchestration then, and load it into a message as an XmlDocument.

      • #19835

        I have following scenario,

        I want to extract the attachments
        from mail, I want to count the number of attachments and their type, for me type
        should be .pdf.

        If number of attachments is greater
        than 1 or less than one I have to send an email notification for that I have a
        .net component. And if number of attachment equal to 1 then I have to extract
        the same and put it to some location and at the same time create one xml file
        which contains mail information.

         

        amit

         

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