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
- how can I upload my PDFs to EnhanchedFtp?
- What is the retention policy in EnhancedFtp
- 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.
Attribution to: Sumit
Possible Suggestion/Solution #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
Attribution to: Dave Helms
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/33961