descala/haltr — Issue #23: Cannot send invoices by mail
Author: lolo6tm
Created: 2012-01-09 09:33:48+00:00
State: open

Hi,

Your plugin looks great but i cannot manage to send invoices by mail.
- When i click "send invoices" or "send signed PDF" i get an "invoice sent" message
- but i get back to invoices list it keeps saying "sending" in status column.
- And i do not receive any mail.

I don't see any errors in redmine's log :

Processing InvoicesController#send_invoice (for 82.127.63.218 at 2012-01-09 10:21:40) [GET]
Parameters: {"action"=>"send_invoice", "id"=>"1", "controller"=>"invoices"}
Rendering template within layouts/invoice
Rendering invoices/show
create_pdf_file command = java -classpath /var/lib/redmine/vendor/plugins/haltr/app/controllers/../../vendor/xhtmlrenderer/core-renderer.jar:/var/lib/redmine/vendor/plugins/haltr/app/controllers/../../vendor/xhtmlrenderer/iText-2.0.8.jar:/var/lib/redmine/vendor/plugins/haltr/app/controllers/../../vendor/xhtmlrenderer/minium.jar org.xhtmlrenderer.simple.PDFRenderer /var/lib/redmine/tmp/invoice_1.xhtml20120109-28335-1hjge0w-0 /var/lib/redmine/tmp/invoice_1.pdf20120109-28335-1m6u70f-0
Sending pdf to '/tmp/free_pdf/cac146e14a_11_1.pdf' for invoice id 1.
Redirected to https://kctus.fr/redmine/invoices/show/1
Completed in 4729ms (View: 75, DB: 5) | 302 Found [https://kctus.fr/redmine/invoices/send_invoice/1]

.. and the PDF files are well created in /tmp/free_pdf ...

Any help would be appreciated... :)