feat: send mail
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user