Best Software for 2025 is now live!

How to enable saving mails as PDF files?

How to enable saving emails as PDF files?
1 comment
Looks like you’re not logged in.
Users need to be logged in to answer questions
Log In
Afterlogic Webmail
Official Response
Afterlogic Webmail
Ivan L.
IL
CMO@Afterlogic.Works | Web development | #1 Webmail, Cloud Storage & Groupware Services | Afterlogic.com
0
WebMail Pro 8 supports saving messages as PDF files. PHP 7.1 or above is required for using this feature. The functionality is disabled by default. To enable it, set Disabled to false in data/settings/modules/MailSaveMessageAsPdfPlugin.config.json file. Also, you need to download wkhtmltopdf package for your operating system from wkhtmltopdf website (https://wkhtmltopdf.org/). 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. 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 xorg-x11-font-utils.x86_64 xorg-x11-fonts-Type1 In case of Ubuntu, also install the library on system level so all the additional libraries required are installed: sudo apt install wkhtmltopdf Once the above steps are done, you should be able to download message files and have them converted to PDF files on-the-fly.
Looks like you’re not logged in.
Users need to be logged in to write comments
Log In
Reply