My Oracle Support Banner

Business Object Email Trigger Sends With Incorrect Content-type Header (Doc ID 2933233.1)

Last updated on MARCH 09, 2023

Applies to:

Visual Builder Studio - Version 23.04.0 and later
Information in this document applies to any platform.

Symptoms

Business Object Email Trigger sends with incorrect Content-type header.

ACTUAL BEHAVIOR
---------------
When using an email trigger on a Visual Builder Cloud Service (VBCS) Business Object, the email is being sent in HTML format with "Content-type" set to "text/plain" instead of "text/html" causing the rendering of the email to show the raw HTML tags.

EXPECTED BEHAVIOR
-----------------------
"Content-type" is expected to be "text/html"

STEPS
-----------

The issue can be reproduced at will with the following steps:
1. Create a new application with a Web Application
2. Create a new Business Object inside the Web Application
3. Add a Before Insert Object Trigger to the Business Object that always executes a "Send eMail Notification" action. Add some formatting (i.e. a bold word) in the email template text
4. Create a new record for the Business Object from its "Data" tab
5. Check the received email

Changes

The issue occurs only in VBCS Gen2, not Gen1.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.