Send email in "Generate PDF report"

Send email in "Generate PDF report"

@Felipe Braga

Hi,

I am wanting to send a PDF report to an email by typing in an input form. But as far as I know, it is necessary to dictate a fixed email in “Environmental variables”. If not, it returns: email environment variable not found.

My question is how to prevent my analysis from just sending the PDF to the fixed email in the environmental variables, and how to make it send to the email typed in an input form.

As a sample code I used “Generate pdf report and send via email” in Tago. And I followed the tutorial: https://community.tago.io/t/how-to-generate-a-beautiful-pdf-using-tagoio/389