Attachments
{"attachments": [
{"filename": "invoice.pdf", "content": "<base64>", "content_type": "application/pdf"},
{"filename": "logo.png", "content": "<base64>", "content_type": "image/png", "content_id": "logo"}
]}
- Up to 10 attachments. The whole message (after encoding) must stay under 40 MB.
- Set
content_idto embed an image in HTML with<img src="cid:logo">. - Executable types are blocked:
.exe .bat .js .vbs .scr .cmd .com .pif .jar .msi.