How to enable saving mails as PDF files

WebMail Pro 8 supports saving messages as PDF files.

The functionality is enabled by default but in order to make it work, you need to download wkhtmltopdf package for your operating system from wkhtmltopdf website. Install it and copy the library file under data/system directory, so the path looks like:




NB: You need to make sure the file permissions are set correctly so that the library can be run from within PHP script.

Also, to make this work, you may need to install additional libraries. In case of CentOS Linux, it's done as follows:

yum install libXrender libXext fontconfig

Once the above steps are done, you should be able to download message files and have them converted to PDF files on-the-fly.