feat: send mail

This commit is contained in:
2025-08-24 13:11:31 +02:00
parent 5b664234e9
commit 0f3da902dc
8 changed files with 144 additions and 17 deletions

View File

@@ -25,13 +25,6 @@ func (s Service) HtmlToPdf(html string) (pdf io.ReadCloser, err error) {
}
req := gotenberg.NewHTMLRequest(index)
req.PaperSize(gotenberg.A4)
// req.Margins(gotenberg.PageMargins{
// Top: 0.5,
// Bottom: 0.5,
// Left: 0.5,
// Right: 0.6,
// Unit: gotenberg.IN,
// })
req.Margins(gotenberg.NoMargins)
// Skips the IDLE events for faster PDF conversion.