Convert HTML to CSV and send to CSV file in Email

Certified Senior Developer

Hello there,

I wanted to convert html to csv file and send CSV file in email.
 I have used "HTML Doc from Template" node and "Convert HTML to CSV" node. My CSV file has generated at backend folders but HTML file is going in email. How Can i send a CSV file in email?

Please suggest.

Thanks

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to manjit.1486

    Without knowing what you actually want to achieve, this is so confusing !?!?!?!?

    If you want to use a placeholder for the body of a HTML grid, you should exactly do that.

    <table>
    ###table_body###
    </table>

    and then use some code like this to generate the content

    joinarray(
      a!forEach(
        items: enumerate(3),
        expression: concat(
          "<tr>",
          "<td>col1-",fv!index,"</td>",
          "<td>col2-",fv!index,"</td>",
          "<td>col3-",fv!index,"</td>",
          "<td>col4-",fv!index,"</td>",
          "<td>col5-",fv!index,"</td>",
          "</tr>"
        )
      ),
      char(10)
    )

Children