Reply To: S3 URLs not working from email
June 18, 2020 at 4:13 pm Reply
Support Manager
Hi Patrick,
First, the URLs inserted into the email via the {s3_urls}
merge tag have a lifespan of 20 minutes. After 20 minutes, the presigned URL expires, so attempting to access the file will result in the error you’re seeing. Are you getting this error within 20 minutes of the email being triggered?
Second, you can customize the S3 file path using the syncs3_put_object_file_path
filter. See this article for a code sample: https://elegantmodules.com/customizing-the-amazon-s3-bucket-and-file-path-in-syncs3/