Can anybody suggest me a way to set a validity for a pdf attached in the email delivery template in Adobe Campaign Classic?
I have tried adjusting the 'Resources validity limit' in the delivery properties of a template as shown in the screenshot below. It was observed that post the expiration of resources validity limit, the mirror url expires but I was still able to access the images and PDF attachment in the email delivery.
Never done this, but was thinking about the options..
How are you attaching the PDF? If you are using calculated PDF, then you should write another job which will move/remove the pdf from the designated folder once the data arrive. You should be able to use JS File class to remove/copy the file. If it make sense, use the lastModified property to determine when to remove a pdf file.
I think same you should be able to do for images, but is more tricky to locate I believe.
I have a hybrid implementation in place wherein I don't have access to the mid sourcing environment.
Once the attachment is embedded in the email delivery template, it gets hosted on the mid sourcing as well. I tried deleting the copy from marketing instance but the copy on the mid sourcing end still persists due to which the pdf attachment does not expire.