I recently turned on the Attachfile() feature within Marketing Cloud (and Public Links is enabled within Salesforce) and have been generating a HTTPS url link in Salesforce for testing. I am using the code below inserting the link I was given in SF:
%%=AttachFile('HTTP','https://myfilename.salesforce.com/fhvXDXoobYchI0Uv1DA5ir7R2Q','testFileName',false)=%%
When testing this, I'm just getting my test email with nothing attached to the email. Any thoughts?
The ampscript is rendering and is sending a test email, I have used 5 different iterations of the logic (just to see if anything would work), and the url provided by Salesforce is able to be accessed off VPN and via Incognito.
Looking at the articles below I feel like I must be close but maybe just need another set of eye's on the process. Any thoughts? Thanks in advance
https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/attachfile.html