I have a requirement to attach pdf document with my emails. And the pdf document changes with each email according to the system configuration.

Can you please help in understanding

  1. how can I upload my PDFs to EnhanchedFtp?
  2. What is the retention policy in EnhancedFtp
  3. how can I refer them in my email? I know I can use AttachFile function, but how can I pass my pdf name which changes with each email.

1 Answer 1


Unfortunately, this isn't available through the Rest API right now. If you would like more information on how to do this via the SOAP API, here is some helpful documentation. You would need to create a Portfolio object, then retrieve that object for your e-mail send.

Create Portfolio Object Code@ documentation

Retrieve Portfolio Object Code@ documentation

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .