Emailed PDF Documents

I just want to find out why emailed pdf documents not formatted correctly as per printed view in ERPNext?

What do i do wrong?

Thank You

Albertus Geyser


In creating pdf report you have to edit your site.config.json and set your host_name like this:

"host_name": "http:://localhost"

or whatever your host name is to make the pdf css structure proper.

maybe it is related. im not sure also :grinning:. just give it a try.


Thank You for quick reply.

Didnt work for me

This worked for me:

Try installing this:

sudo apt-get install libssl1.0-dev