How to attach file from db in sendgrid plugin

Hi everyone,

I’ve been using the @copilot Sengrid plugin for a while but I had never needed to attach a file before using templates, before I used the build-in action in Bubble called Send Email

image

But I couldn’t do the same with the copilot plugin, using the action Sendgrid - Send email, for some reason this doesnt work, I even tried using :enconded in base64, but nothing.

image

Let me know if someone has found a solution PLSS

Best,
Maria

Hey @shared,

Make sure you’re on the latest version of the plugin! Version 6.3 onwards introduced support for Bubble’s upgrades to its core plugin library.

Additionally, you’ll want to make sure your Attachment Data fields containing a base64-encoded version of your files. Use Bubble’s :encoded in base64 module to accomplish this when using a file uploader, for example. :+1:t4:

This topic was automatically closed after 70 days. New replies are no longer allowed.