Topic Options
#54395 - 12/21/16 09:44 AM Image Corrupting PDF attachment
Solar Offline
OL Toddler

Registered: 11/19/10
Posts: 34
Loc: UK
Hi

I run a job that sends emails through an excel lookup and attaching the PDF to the email, if I send each document through the flow individually , the PDF attachment is fine.

The clients with several documents say 7 documents do not want 7 individual emails with 1 attachment but if I merge the inputs at the beginning and sort them into order the 7 documents then get written into 1 PDF and attached just how the client would like them.

Sometimes this causes corruption in the text on the PDF, I have seen this happen many times and it is always when PDF's are merged together to make 1 file, there is never corruption in the individual scenario.

Is it possible to create 1 email and then attach 7 different PDF files to avoid the corruption issue? This would be a great resolution if possible

Is it also possible to set a maximum attachment size to any email? To create a second email if that attachment limit gets reached?

Thanks

Top
#54396 - 12/21/16 10:52 AM Re: Image Corrupting PDF attachment [Re: Solar]
RobertOtis Offline
OL User

Registered: 08/26/13
Posts: 88
Loc: Montreal,Quebec
Dear Solar,

If you want to attach 7 different files into a 1 email yes is possible, but you will need to send those pdf into a folder and then use the Zip files plug-in in order to make 1 attachment.

If you get corrupted pdf files while merging, there maybe something that is not done properly, for this I suggest to open a support call with our support department.

Top
#54402 - 12/22/16 05:39 AM Re: Image Corrupting PDF attachment [Re: RobertOtis]
Solar Offline
OL Toddler

Registered: 11/19/10
Posts: 34
Loc: UK
Thanks Robert

I had not thought of using the zip attachment method, I will try that

Thanks for your response

Top
#54403 - 12/22/16 09:33 AM Re: Image Corrupting PDF attachment [Re: RobertOtis]
Solar Offline
OL Toddler

Registered: 11/19/10
Posts: 34
Loc: UK
I got some good results testing this when taking files from a folder however I have a problem with getting a zipped attachment of the file going through the process.

In testing the file gets written after the email composition so the email goes out with no attachment, the file sits in the folder

How do you get the email to wait until the PDF is written into the folder and I would need the file to then delete after the email is composed or it would end up in the next email done in the process?

Thanks

Top
#54415 - 12/28/16 10:32 AM Re: Image Corrupting PDF attachment [Re: Solar]
RobertOtis Offline
OL User

Registered: 08/26/13
Posts: 88
Loc: Montreal,Quebec
Solar,

what do you use to create your file?
You can use a sleep time before the zip plug in so it wait for the file to be created.

Top