Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Saving mails as PDF files Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Briesmi
Newbie
Newbie


Joined: 02 September 2015
Location: Germany
Online Status: Offline
Posts: 10
Posted: 24 July 2016 at 5:48am | IP Logged Quote Briesmi

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 View Briesmi's Profile Search for other posts by Briesmi
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 25 July 2016 at 4:14am | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 
Briesmi
Newbie
Newbie


Joined: 02 September 2015
Location: Germany
Online Status: Offline
Posts: 10
Posted: 05 August 2016 at 5:27am | IP Logged Quote Briesmi

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 View Briesmi's Profile Search for other posts by Briesmi
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide