MailSuite Pro documentation

How to enable saving mails as PDF files

Starting from v7.4.0.5, MailSuite Pro supports saving messages as PDF files.

To enable this functionality, the following steps should be taken:

1. In data/settings/config.php file, add the following array element:

'labs.allow-save-as-pdf' => true,

2. From wkhtmltopdf website, download wkhtmltopdf package for your operating system. Install it and copy the library file under data/system directory, so the path looks like:

data/system/wkhtmltopdf/linux/wkhtmltopdf

or:

data/system/wkhtmltopdf/win/wkhtmltopdf.exe

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

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