How to let users add an attachment to a SendGrid form?

The first one should be interessting for you…

Old JSW-FILES should also still work, even when this structure is already depcricated.

There are many ways of how to use SendGrid…

  1. Establishing a communication trough a HTML-Comp. or Custom-element.
  2. Installing an NPM-PACKAGE
  3. Or generating all neededcode by scratch, using the REST-API provided by SendGrid.

Before you can send an ATTACHMENT → you will have first to UPLOAD the file.
Then you should get the BASE64 formated file, which you can attach.

It could be a pic, a pdf, or something else.

Normaly the UPLOAD-BUTTON should give you this oppertunities.

1 Like