How to Display Attachments in Custom Email Templates

Good news, everyone!

We've added yet another new feature to make your life better. You can now display image attachments in your custom email templates!

Just like with other template fields, just surround them with double curly braces to access them, iterating through each of the attachments like so:

{{#each attachment}}
  <a href="{{this.public_url}}">{{this.name}}</a>
 
<!-- OR -->
  <img src="{{this.public_url}}"/>
  <b>File size:</b>{{this.file_size}} bytes
{{/each}}


Check out our Custom Templates & Merge Tags page for further information on other neat things you can do with email templates.

Have fun!

Get Started with a Free Basin account today!

Discover the benefits of Basin and how it can help streamline your forms. Sign up now and explore our features.

Sign Up for Free