Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!
SOLVED

Create dynamic PDF attachment

Avatar

Level 1

We want to send an email with a personalized PDF attachment

michael299_0-1711538281405.png

 

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.).

 

michael299_1-1711538281406.png

 

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:

michael299_2-1711538281406.png

 

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?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

3 Replies

Avatar

Community Advisor

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

Avatar

Level 1

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

Avatar

Correct answer by
Community Advisor

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