Base44 SendEmail Adds HTML Bodies and Attachments
Base44 updated the SendEmail() integration to accept an html body, a plain-text alternative, and an attachments array. Attachments can be files the app already uploaded or inline base64 content, up to 5 files, 5 MB each and 10 MB total.
Key Takeaways
SendEmail()now accepts an html body in place of plainbody.- A text parameter adds a plain-text alternative to the HTML version.
- A new attachments array sends files with the email.
- Attachments can be already uploaded files or inline base64 content.
- Limits are 5 files, 5 MB each, 10 MB total.
- The SDK reference includes the parameters and code examples.
Richer Emails From Base44 Apps
Base44 expanded the SendEmail() integration. Previously emails were sent with a body. The integration now accepts html as an alternative, so apps can send formatted messages.
Plain-Text Fallback
A new text parameter carries a plain-text version alongside the HTML. Email clients that cannot render HTML, and spam filters that prefer a text part, can fall back to it.
Attachments
A new attachments array lets an app send files with the email. Each attachment is either a file the app already uploaded or inline base64-encoded content. Limits apply: no more than 5 files, 5 MB per file, and 10 MB in total per email.
Documentation
The SDK reference now lists the new parameters with code examples.