Custom Email Configurations - Adding Logos and Images

Good day,

Our Marketing team wanted to brand email notifications.

In the administration Settings>Enterprise tenant>Configuration, the email text boxes do not have options to add images or logos to emails. I tried encoding base 64 images into the text box but outlook and just send the base 64 code response back.

Example Response:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhE…../>

Any ideas on how to support?

Additionally, they wanted different subject fields for each email. It looks likeall password resets are required to have the same subject line. Any workarounds for this?

Thanks,

Jon

Hi @jdayus,

Regarding the email images, you could link to any external images if you want or you can host these images within your Cumulocity tenant. This also keeps the sizes of the mails smaller compared to embedding the whole base64 encoded image in the mail.

To host them within your Cumulocity tenant, you could upload these images via the branding manager to your tenant. Within the upload dialog you can right click the image and copy the address of the graphic/image. The address will likely have a format like this: `https:///apps/public/branding-assets-/`.

You can then reference that image within your email template:

<img src="https://<tenant-domain>/apps/public/branding-assets-<tenantId>/<image-filename>" />

Can’t really answer your second question. The UI only seems to offer the option for a single subject regarding the password reset. I also do not really see a need for different subjects for the different password reset mails. But if you do so, you might want to raise a feature request for that.

Regards,
Tristan