Create dynamic PDF attachment | Community
Skip to main content
March 27, 2024
Solved

Create dynamic PDF attachment

  • March 27, 2024
  • 1 reply
  • 1196 views

We want to send an email with a personalized PDF attachment

 

When attaching an .odt file to the email delivery and selecting ‘The content of the file is personalized and converted to PDF during the delivery of each message’ the delivery is created but the delivery log fails and generates the following error:

Status: Failed
Reason: Unreachable
Text: Unable to convert the OpenOffice document '/usr/local/neolane/nl6/var/testing/mta/temp/#URL#' (corresponding to template '/usr/local/neolane/nl6/var/testing/upload/#ID#.odt') to PDF (duration=0.0s, error=Error while loading document.).

 

 

LibreOffice is installed on server

I have tried the same process but with a .doc file but the delivery will not even generate, I am shown the following errors:

 

11:07:24 - ZIP-250004 Unable to open '/usr/local/neolane/nl6/var/testing/upload/295344b9a0d925c41a87848057f00496.doc' archive.

11:07:24 - A non-blocking error occurred during delivery saving.

11:07:25 - ZIP-250004 Unable to open '/usr/local/neolane/nl6/var/testing/upload/295344b9a0d925c41a87848057f00496.doc' archive.

11:07:25 - ZIP-250004 Unable to open '/usr/local/neolane/nl6/var/testing/upload/295344b9a0d925c41a87848057f00496.doc' archive.

11:07:25 - SOP-330011 Error while executing the method 'PrepareTargetImpl' of service 'nms:delivery'.

11:07:25 - SOP-330011 Error while executing the method 'PrepareTarget' of service 'nms:delivery'.

11:07:25 - XSV-350122 An error occurred and the process has been stopped.


Are there any extra packages required to create personalized PDFs?
Or is there a workaround for this issue perhaps?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by _Manoj_Kumar_

I don't think anything else is wrong. The error clearly says unable to read the file and there are only 2 possible reasons for that. Either the file is not available on the location or read permissions (I doubt this one)

1 reply

_Manoj_Kumar_
Community Advisor
Community Advisor
April 2, 2024

Hello @michael299 

 

Everything looks good to me from a config pov except the folder location from where file is being read.

 

Are you sure your AC instance name is testing? My assumption is testing is not the correct instance name and that is why server is not able to read the file.

     Manoj     Find me on LinkedIn
April 3, 2024

Hi, yes that's correct as am testing this on a 'testing' instance we have setup. Any other ideas?

_Manoj_Kumar_
Community Advisor
_Manoj_Kumar_Community AdvisorAccepted solution
Community Advisor
April 3, 2024

I don't think anything else is wrong. The error clearly says unable to read the file and there are only 2 possible reasons for that. Either the file is not available on the location or read permissions (I doubt this one)

     Manoj     Find me on LinkedIn