PureConnect

Discussion Thread View
  • 1.  Convert Email Body to String

    GCAP Member
    Posted 04-23-2020 07:49
    I am trying to write an Email Body to a text file and I am unsure of how to convert the email body to a string to write to the file. Any help would be greatly appreciated. Thanks, Andrew


  • 2.  RE: Convert Email Body to String

    GENESYS
    Posted 09-08-2017 15:08
    Try using the "Parse Email Body" tool (on the Email tab". Output is sData (the body of the email) and sContentType (to tell you whether it is text or html). (I am presuming you have already gotten the email body out of the list. If not, you can feed GetHead(leb[listname]) to pull the top email body out of the list, by substituting your list name)


  • 3.  RE: Convert Email Body to String

    GCAP Member
    Posted 09-08-2017 15:10
    uhhh.... Friday morning and not awake, thats what I was missing, thank you!


  • 4.  RE: Convert Email Body to String

    GENESYS
    Posted 09-08-2017 15:11
    We hide things on purpose just to make folks come to classes...