Author |
|
Briesmi Newbie
Joined: 02 September 2015 Location: Germany
Online Status: Offline Posts: 10
|
Posted: 24 July 2016 at 5:48am | IP Logged
|
|
|
Hello,
I hope that somebody can help me. I want to save mails as a pdf file.
I use a v server with debian 8 and installed wkhtmltopdf via apt-get. The wkhtmltopdf is located in /usr/bin folder.
The config for save as pdf is set in config.php but i only got error when I try to save a email as pdf.
What do u mean in your documentation with
Quote:
copy the library file under data/system directory, so the path looks like:
data/system/wkhtmltopdf/linux/wkhtmltopdf |
|
|
?
I have no such directory.
Thank you!
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 25 July 2016 at 4:14am | IP Logged
|
|
|
data/system/wkhtmltopdf/linux/wkhtmltopdf is where WebMail attempts to locate the binary file of the converter. You need to create system/wkhtmltopdf/linux subdirectory under data dir and either copy the converter file or create a symlink to it in there.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Briesmi Newbie
Joined: 02 September 2015 Location: Germany
Online Status: Offline Posts: 10
|
Posted: 05 August 2016 at 5:27am | IP Logged
|
|
|
Thanks Igor,
now it's runnin. The issue was the file permissons, it's only working if the chmod is set to 744, i had 644 before.
But there are 3 things:
#1 It's not working if there is a image included in the mail
#2 The mail header won't be saved in the PDF like it's possible if you print the email.
#3 German umlauts wont be encoded correctly, e.g. Ä will displayed as ä. If i try to convert a website from command line, there is no issue with the umlauts. I set all to utf-8, but nothing helps..
|
Back to Top |
|
|