we need to create pdf generator that parses html into a pdf. the html parser also needs to look for embedded variables in the html content. so we will need a function that reads the html template and then parses the content to inject the variables and results the result with embedded variables.
the above html parser will be used to provide input to the pdf generator function which just produces a pdf from the resulting html.
said pdf needs to be returned as a file pointer so that our gmail utility can send the file as an attachment
we need to create pdf generator that parses html into a pdf. the html parser also needs to look for embedded variables in the html content. so we will need a function that reads the html template and then parses the content to inject the variables and results the result with embedded variables.
the above html parser will be used to provide input to the pdf generator function which just produces a pdf from the resulting html.
said pdf needs to be returned as a file pointer so that our gmail utility can send the file as an attachment