Generate HTML for email


I’m trying to generate som daily report emails with network statistics etc.
While I was doing this I got the idea that maybe UD can be used to generate the HTML for the mails to make the charts/tables more pretty etc. Is there a way to have UD generate the html and css for a page and just save it somewhere? ( I realize these pages would not be dynamic etc like real pages on a web server would be)

Hey @finteches and welcome to the UD Forums!

At the moment, UD is really tied to it’s web server so it’s hard to generate a static HTML\CSS report. This seems to be coming up more and more though so it’s something I would consider looking into.

Please chime in on this issue with any additional specifics that relate to your use case:

1 Like

I’ve done that but it is not automated. See Using UD to generate a static homepage