Integrating a mailing API that sends image attachments and PDF (Which is generated by code) from react form
I’ve been working on a react form which receives some biodata input including three images, then programmatically generates a pdf from the entries in the form, and send this pdf along with the three images as an email to a given inbox. The API I used named Brevo seems to work fine with sending just texts in the mail, I’ve been able to do that, but I’m unable to send any attachments. I have read the documentation for their API over and over but i really cannot get what is the issue. Their API seems to have two methods of sending, which is the API method and SMTP relay, and i have tried both although i didn’t fully get the smtp relay structure. I really need to create this form without a backend.