how to send the data generated by Dataexport widget in email
I am trying to send the file generated by data export widget in email. How to do this?
I am trying to send the file generated by data export widget in email. How to do this?
Hello,
The widget is executed in the user's browser, but you send emails on the server side. If you need to send CSV files as emails, I would recommend abandoning the widget path and consider the following sequence instead:
If you need to download the CSV file in addition to emailing it, then instead of (4) you can return the complete filename and use it as URL for WebFrame widget on your mashup. This will trigger the download after the email has been sent. In this case make sure that you have some scheduled job which cleans up those temporary files every night for example.
Regards,
Constantine
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.