const result = await domain.mail.bimi({ svg: bytes, vmc: "https://example.com/vmc.pem" });
// { host, published: true, logoUrl, vmc: false, warning: "…" }result = domain.mail.bimi(svg=svg_bytes, vmc="https://example.com/vmc.pem")
# {"host", "published": True, "logoUrl", "vmc": False, "warning": "…"}svgUint8Array | stringrequiredSVG Tiny PS: no script, no external image, 32 KB at most.
vmcstringnullA certificate's address.
subdomainstringnullWhich host.
Two refusals, in that order
| Refusal | Means |
|---|---|
public_url_missing | The logo cannot be served publicly yet, so publishing the record would point at nothing. |
dmarc_not_enforced | The policy is still observing. Harden it with dmarc() first. |
Sending someone to harden their policy — which can break their mailing lists — for something we could not deliver anyway would be the worse failure. The deliverability problem is checked first.
Without a certificate, the main receivers show nothing
vmc: false comes back with a warning. A certificate requires a registered trademark and costs around a thousand dollars a year — which is the real gate, and worth knowing before the work is done.
The image is constrained
A restricted SVG profile: no script, no external reference, 32 KB at most. We host it and publish the record pointing at it — a stranger's mail receiver is what fetches it.
It is the only control over what a recipient sees
Nothing in a message decides the circle beside a sender's name: the recipient's client draws it from its own data. A signature can carry a picture inside the message, which is a different thing and always works.